mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +00:00
Make aliases relative
This commit is contained in:
parent
f6a734d02e
commit
2aecdc6fe1
3 changed files with 3 additions and 4 deletions
4
.luaurc
4
.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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -449,7 +449,6 @@ TEST("world", function()
|
|||
count += 1
|
||||
end
|
||||
|
||||
print(count)
|
||||
CHECK(count == 2)
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue