Remove indices

This commit is contained in:
Ukendio 2024-07-26 03:03:00 +02:00
parent 0f8f9348f5
commit 65984b6c65

View file

@ -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