mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +00:00
Remove indices
This commit is contained in:
parent
0f8f9348f5
commit
65984b6c65
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,6 @@ do
|
||||||
end
|
end
|
||||||
|
|
||||||
local world_has: (world: World, entityId: number, ...i53) -> boolean
|
local world_has: (world: World, entityId: number, ...i53) -> boolean
|
||||||
|
|
||||||
do
|
do
|
||||||
function world_has(world, entity_id, ...)
|
function world_has(world, entity_id, ...)
|
||||||
local id = entity_id
|
local id = entity_id
|
||||||
|
@ -832,6 +831,7 @@ do
|
||||||
|
|
||||||
if shouldRemove then
|
if shouldRemove then
|
||||||
table.remove(compatible_archetypes, i)
|
table.remove(compatible_archetypes, i)
|
||||||
|
table.remove(column_indices, i)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue