mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +00:00
rename ptr to edge
This commit is contained in:
parent
e299c3584d
commit
cecb43e501
1 changed files with 4 additions and 4 deletions
|
@ -892,11 +892,11 @@ local function archetype_clear_edges(archetype: Archetype)
|
||||||
local node = archetype.node
|
local node = archetype.node
|
||||||
local add = node.add
|
local add = node.add
|
||||||
local remove = node.remove
|
local remove = node.remove
|
||||||
for _, ptr in add do
|
for _, edge in add do
|
||||||
archetype_disconnect_edge(ptr)
|
archetype_disconnect_edge(edge)
|
||||||
end
|
end
|
||||||
for _, ptr in remove do
|
for _, edge in remove do
|
||||||
archetype_disconnect_edge(ptr)
|
archetype_disconnect_edge(edge)
|
||||||
end
|
end
|
||||||
local node_add_ref = node.add_ref
|
local node_add_ref = node.add_ref
|
||||||
if node_add_ref then
|
if node_add_ref then
|
||||||
|
|
Loading…
Reference in a new issue