Skip to content

Commit

Permalink
fix issue when using include types in query
Browse files Browse the repository at this point in the history
  • Loading branch information
Avokadoen committed Jan 5, 2025
1 parent c6d2af9 commit f657a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit f657a10

Please sign in to comment.