From fe6564d8c31662d4d2c2606c62ba6d4416c6b6a6 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Tue, 9 May 2023 12:25:19 -0500 Subject: delete _child table each frame --- honey/ecs/node.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'honey') 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 -- cgit v1.2.1