mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Select should use j not i
This commit is contained in:
parent
ec9d58fe5d
commit
fd40993ceb
1 changed files with 3 additions and 3 deletions
|
@ -734,7 +734,7 @@ do
|
|||
without = Arm,
|
||||
archetypes = function()
|
||||
return empty_list
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
||||
setmetatable(EmptyQuery, EmptyQuery)
|
||||
|
@ -1072,7 +1072,7 @@ do
|
|||
local shouldRemove = false
|
||||
|
||||
for j = 1, N do
|
||||
local id = select(i, ...)
|
||||
local id = select(j, ...)
|
||||
if tr[id] then
|
||||
shouldRemove = true
|
||||
break
|
||||
|
@ -1147,7 +1147,7 @@ do
|
|||
local shouldRemove = false
|
||||
|
||||
for j = 1, N do
|
||||
local id = select(i, ...)
|
||||
local id = select(j, ...)
|
||||
if not tr[id] then
|
||||
shouldRemove = true
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue