From 32e0cc334c4cd61b515ea70f1f36755df3f73878 Mon Sep 17 00:00:00 2001 From: friflo Date: Tue, 18 Feb 2025 15:29:05 +0100 Subject: [PATCH] update Test_CopyEntity_CloneStore_subset() --- src/Tests/ECS/Entity/Test_CopyEntity.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tests/ECS/Entity/Test_CopyEntity.cs b/src/Tests/ECS/Entity/Test_CopyEntity.cs index fab76786..27c195e7 100644 --- a/src/Tests/ECS/Entity/Test_CopyEntity.cs +++ b/src/Tests/ECS/Entity/Test_CopyEntity.cs @@ -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()); + var query = store.Query().AnyTags(Tags.Get()); foreach (var entity in query.Entities) { // preserve same entity ids in target store if (!targetStore.TryGetEntityById(entity.Id, out Entity targetEntity)) {