summaryrefslogtreecommitdiff
path: root/honey/ecs/node.lua
diff options
context:
space:
mode:
Diffstat (limited to 'honey/ecs/node.lua')
-rw-r--r--honey/ecs/node.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/honey/ecs/node.lua b/honey/ecs/node.lua
index 645946c..4953af5 100644
--- a/honey/ecs/node.lua
+++ b/honey/ecs/node.lua
@@ -15,6 +15,7 @@ system = function(params)
-- prepare nodes
for id, node in pairs(nodes) do
node._visited = false
+ node._child = nil
end
-- helper function