mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +00:00
Fix table.move usage in query_cached
This commit is contained in:
parent
aafafc90b2
commit
b7e4c0b363
1 changed files with 1 additions and 1 deletions
|
@ -1589,7 +1589,7 @@ local function query_cached(query: QueryInner)
|
||||||
local with = query.filter_with
|
local with = query.filter_with
|
||||||
local ids = query.ids
|
local ids = query.ids
|
||||||
if with then
|
if with then
|
||||||
table.move(ids, 1, #ids, #with, with)
|
table.move(ids, 1, #ids, #with + 1, with)
|
||||||
else
|
else
|
||||||
query.filter_with = ids
|
query.filter_with = ids
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue