mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Typo in hooks fix
This commit is contained in:
parent
610b668665
commit
3e81cc877a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue