mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +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": {
|
"aliases": {
|
||||||
"jecs": "C:/Users/Marcus/Documents/packages/jecs/src",
|
"jecs": "src",
|
||||||
"testkit": "C:/Users/Marcus/Documents/packages/jecs/testkit"
|
"testkit": "testkit"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -800,7 +800,7 @@ local function preparedQuery(compatibleArchetypes: { Archetype },
|
||||||
return queryNext
|
return queryNext
|
||||||
end
|
end
|
||||||
|
|
||||||
local function replace()
|
local function replace(fn)
|
||||||
for _, compatibleArchetype in compatibleArchetypes do
|
for _, compatibleArchetype in compatibleArchetypes do
|
||||||
local archetype = compatibleArchetype.archetype
|
local archetype = compatibleArchetype.archetype
|
||||||
local tr = compatibleArchetype.indices
|
local tr = compatibleArchetype.indices
|
||||||
|
|
|
@ -449,7 +449,6 @@ TEST("world", function()
|
||||||
count += 1
|
count += 1
|
||||||
end
|
end
|
||||||
|
|
||||||
print(count)
|
|
||||||
CHECK(count == 2)
|
CHECK(count == 2)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in a new issue