summaryrefslogtreecommitdiff
path: root/internal.lua
diff options
context:
space:
mode:
authorShadowNinja <noreply@gmail.com>2013-09-03 17:09:11 -0400
committerShadowNinja <noreply@gmail.com>2013-09-03 17:09:11 -0400
commitb1a4f878ef56b23d7e49051e361819b2f7e96e14 (patch)
tree59117d591acbf5bc1da4f03031582bde167288ae /internal.lua
parent7b0ff512f7f44fde11204e57f5b9b30ae550e4bb (diff)
Fix rename_area and buildable_to nodes on the edges of areas
Diffstat (limited to 'internal.lua')
-rw-r--r--internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.lua b/internal.lua
index 142e610..80187dc 100644
--- a/internal.lua
+++ b/internal.lua
@@ -186,7 +186,7 @@ end
-- Checks if a player owns an area or a parent of it
function areas:isAreaOwner(id, name)
- cur = self:getAreaById(id)
+ local cur = self:getAreaById(id)
if cur and minetest.check_player_privs(name, {areas=true}) then
return true
end