Typo in hooks fix

This commit is contained in:
Intrinsic 2025-01-16 15:07:48 -08:00
parent 610b668665
commit 3e81cc877a
No known key found for this signature in database

View file

@ -960,7 +960,7 @@ local function archetype_delete(world: World, archetype: Archetype, row: number,
local component_index = world.componentIndex
for _, id in id_types do
local idr = component_index[id]
local on_remove: idr.hooks.on_remove
local on_remove = idr.hooks.on_remove
if on_remove then
on_remove(delete)
end