From 65b6629c8f9b037b788f3d88809ff6149d6f560c Mon Sep 17 00:00:00 2001 From: kurokuukyo Date: Tue, 21 Apr 2026 07:01:06 -0400 Subject: [PATCH] run secondary mixing step for all entities and not just the alive ones --- test/tests.luau | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/tests.luau b/test/tests.luau index b0cee91..f9e82e8 100755 --- a/test/tests.luau +++ b/test/tests.luau @@ -3364,7 +3364,12 @@ TEST("world:targets()", function() CHECK(seen[t] == true) end - for t in world:targets(e, ROOT) do + for j = 1, #all_targets do + local t: Entity + while t == nil do + t = all_targets[j] + end + if math.random() < 0.5 then world:remove(e, jecs.pair(ROOT, t)) alive[t] = nil