From b7e4c0b36336bdfafa6dda1da566034b859fad3b Mon Sep 17 00:00:00 2001 From: vnnh <90565423+vnnh@users.noreply.github.com> Date: Fri, 3 Jan 2025 23:58:40 -0600 Subject: [PATCH] Fix table.move usage in query_cached --- jecs.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jecs.luau b/jecs.luau index 473b620..332652e 100644 --- a/jecs.luau +++ b/jecs.luau @@ -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