Skip to content

Commit

Permalink
Fix table.move usage in query_cached
Browse files Browse the repository at this point in the history
  • Loading branch information
vnnh authored Jan 4, 2025
1 parent aafafc9 commit b7e4c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jecs.luau
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7e4c0b

Please sign in to comment.