Fix linting issues

This commit is contained in:
Ukendio 2025-11-18 21:12:47 +01:00
parent a255d25ada
commit 94f3eb0cc1

View file

@ -3228,7 +3228,7 @@ local function world_new()
local tr_count = counts[archetype_id] local tr_count = counts[archetype_id]
local idr_r_types = idr_r_archetype.types local idr_r_types = idr_r_archetype.types
for i = tr, tr + tr_count - 1 do for i = tr, tr + tr_count - 1 do
local id = idr_r_types[i] local id = types[i]
node = archetype_traverse_remove(world, id, node) node = archetype_traverse_remove(world, id, node)
local on_remove = component_index[id].on_remove local on_remove = component_index[id].on_remove
if on_remove then if on_remove then