Compare commits

..

No commits in common. "eeb8253d321b072fb7dd450b955218b6613019f0" and "78fe5338cf911ade648ebc0bf59aff0d40428aac" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View file

@ -1428,7 +1428,7 @@ local function query_iter_init(query: QueryInner): () -> (number, ...any)
i -= 1
for i = 9, ids_len do
output[i - 8] = columns_map[ids[i]][row]
output[i - 8] = columns_map[i][row]
end
return entity, a[row], b[row], c[row], d[row], e[row], f[row], g[row], h[row], unpack(output)
@ -1903,7 +1903,7 @@ local function query_cached(query: QueryInner)
i -= 1
for i = 9, ids_len do
output[i - 8] = columns_map[ids[i]][row]
output[i - 8] = columns_map[i][row]
end
return entity, a[row], b[row], c[row], d[row], e[row], f[row], g[row], unpack(output)

View file

@ -1536,7 +1536,6 @@ TEST("world:query()", function()
for i = 1, 9 do
local id = world:component()
world:component() -- make the components sparsely interleaved
components[i] = id
end
local e1 = world:entity()