From f657a10d87f48dbb8d1c14feecb38da59caa4ab7 Mon Sep 17 00:00:00 2001 From: avokadoen Date: Sun, 5 Jan 2025 14:05:22 +0100 Subject: [PATCH] fix issue when using include types in query --- src/storage.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage.zig b/src/storage.zig index 43a3ed8..87d8e8f 100644 --- a/src/storage.zig +++ b/src/storage.zig @@ -608,7 +608,7 @@ pub fn CreateStorage(comptime all_components: anytype) type { *query_component, incl_index, | { - const request = CompileReflect.compactComponentRequest(exclude_types[incl_index]); + const request = CompileReflect.compactComponentRequest(include_types[incl_index]); query_component.* = request.type; } }