Skip to content

Commit 32e0cc3

Browse files
committed
update Test_CopyEntity_CloneStore_subset()
1 parent 806d525 commit 32e0cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/ECS/Entity/Test_CopyEntity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static void Test_CopyEntity_CloneStore_subset()
2525
store.CreateEntity(new Position(5,5,5)); // 5
2626

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

0 commit comments

Comments
 (0)