mirror of
https://github.com/Ukendio/jecs.git
synced 2026-05-13 14:24:14 +00:00
redeclare component_index as ct_idx
This commit is contained in:
parent
681065e3e7
commit
3150a8bd7a
1 changed files with 3 additions and 2 deletions
|
|
@ -3324,7 +3324,8 @@ local function world_new(DEBUG: boolean?)
|
|||
end
|
||||
|
||||
local r = ECS_PAIR(relation, EcsWildcard)
|
||||
local idr = world.component_index[r]
|
||||
local ct_idx = world.component_index
|
||||
local idr = ct_idx[r]
|
||||
|
||||
if not idr then
|
||||
return NOOP
|
||||
|
|
|
|||
Loading…
Reference in a new issue