mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-27 02:10:02 +00:00
Remove appending to array
This commit is contained in:
parent
5b31a1af22
commit
5b9c032451
1 changed files with 0 additions and 1 deletions
|
@ -116,7 +116,6 @@ local function observers_add(world: jecs.World & { [string]: any }): PatchedWorl
|
|||
end
|
||||
world:set(component, jecs.OnAdd, on_add)
|
||||
end
|
||||
table.insert(listeners, fn)
|
||||
listeners[max] = fn
|
||||
return function()
|
||||
local n = #listeners
|
||||
|
|
Loading…
Reference in a new issue