mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Fix typo with archetype_traverse_remove
(#135)
This commit is contained in:
parent
c4deb715fa
commit
d6932ff80e
1 changed files with 1 additions and 1 deletions
|
@ -687,7 +687,7 @@ end
|
||||||
local function archetype_traverse_remove(world: World, id: i53, from: Archetype): Archetype
|
local function archetype_traverse_remove(world: World, id: i53, from: Archetype): Archetype
|
||||||
from = from or world.ROOT_ARCHETYPE
|
from = from or world.ROOT_ARCHETYPE
|
||||||
|
|
||||||
local edge = archetype_ensure_edge(world, from.node.add, id)
|
local edge = archetype_ensure_edge(world, from.node.remove, id)
|
||||||
|
|
||||||
local to = edge.to
|
local to = edge.to
|
||||||
if not to then
|
if not to then
|
||||||
|
|
Loading…
Reference in a new issue