diff options
author | ShadowNinja <shadowninja@minetest.net> | 2013-11-18 17:44:00 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2013-11-18 17:44:00 -0500 |
commit | 5f68c111dc84f5f5604cd39be15812d364f3e26d (patch) | |
tree | ca077e87793c150f661402ac007b0230c372abc4 | |
parent | 8765a5e6198777f7ca414c87e2cf77accfba9bc8 (diff) |
Fix crash with recursive_remove_areas
-rw-r--r-- | internal.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.lua b/internal.lua index 80187dc..3c4212b 100644 --- a/internal.lua +++ b/internal.lua @@ -38,7 +38,7 @@ function areas:remove(id, recurse) -- Recursively find child entries and remove them local cids = self:getChildren(id) for _, cid in pairs(cids) do - self:removeArea(cid, true) + self:remove(cid, true) end else -- Update parents |