Skip to content

Commit

Permalink
update Test_CopyEntity_CloneStore_subset()
Browse files Browse the repository at this point in the history
  • Loading branch information
friflo committed Feb 18, 2025
1 parent 806d525 commit 32e0cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tests/ECS/Entity/Test_CopyEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static void Test_CopyEntity_CloneStore_subset()
store.CreateEntity(new Position(5,5,5)); // 5

// Query will copy only entities [2, 4]
var query = store.Query().AllTags(Tags.Get<TestTag>());
var query = store.Query().AnyTags(Tags.Get<TestTag>());
foreach (var entity in query.Entities) {
// preserve same entity ids in target store
if (!targetStore.TryGetEntityById(entity.Id, out Entity targetEntity)) {
Expand Down

0 comments on commit 32e0cc3

Please sign in to comment.