mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +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 ids = query.ids
|
||||
if with then
|
||||
table.move(ids, 1, #ids, #with, with)
|
||||
table.move(ids, 1, #ids, #with + 1, with)
|
||||
else
|
||||
query.filter_with = ids
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue