diff --git a/.luaurc b/.luaurc index ca68025..c0ecdb0 100644 --- a/.luaurc +++ b/.luaurc @@ -1,6 +1,6 @@ { "aliases": { - "jecs": "C:/Users/Marcus/Documents/packages/jecs/src", - "testkit": "C:/Users/Marcus/Documents/packages/jecs/testkit" + "jecs": "src", + "testkit": "testkit" } } diff --git a/src/init.luau b/src/init.luau index 6879555..1b2acd7 100644 --- a/src/init.luau +++ b/src/init.luau @@ -800,7 +800,7 @@ local function preparedQuery(compatibleArchetypes: { Archetype }, return queryNext end - local function replace() + local function replace(fn) for _, compatibleArchetype in compatibleArchetypes do local archetype = compatibleArchetype.archetype local tr = compatibleArchetype.indices diff --git a/tests/world.luau b/tests/world.luau index 8f62349..a167c8b 100644 --- a/tests/world.luau +++ b/tests/world.luau @@ -449,7 +449,6 @@ TEST("world", function() count += 1 end - print(count) CHECK(count == 2) end end)