From 5f68c111dc84f5f5604cd39be15812d364f3e26d Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Mon, 18 Nov 2013 17:44:00 -0500 Subject: [PATCH] Fix crash with recursive_remove_areas --- internal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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