Compare commits

..

1 commit

Author SHA1 Message Date
Clown
e34352477d
Merge 96bed9bd7e into 78fe5338cf 2025-07-18 22:57:30 +03:00
4 changed files with 4 additions and 5 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

@ -1,6 +1,6 @@
{
"name": "@rbxts/jecs",
"version": "0.9.0-rc.4",
"version": "0.9.0-rc.3",
"description": "Stupidly fast Entity Component System",
"main": "jecs.luau",
"repository": {

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()

View file

@ -1,6 +1,6 @@
[package]
name = "ukendio/jecs"
version = "0.9.0-rc.4"
version = "0.9.0-rc.3"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
license = "MIT"