Fix crash with recursive_remove_areas

This commit is contained in:
ShadowNinja 2013-11-18 17:44:00 -05:00
parent 8765a5e619
commit 5f68c111dc

View File

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