Fix typo with archetype_traverse_remove (#135)

This commit is contained in:
vnnh 2024-09-28 20:34:32 -05:00 committed by GitHub
parent c4deb715fa
commit d6932ff80e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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