summaryrefslogtreecommitdiff
path: root/interact.lua
diff options
context:
space:
mode:
Diffstat (limited to 'interact.lua')
-rw-r--r--interact.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/interact.lua b/interact.lua
index b4f7164..2e54800 100644
--- a/interact.lua
+++ b/interact.lua
@@ -1,5 +1,5 @@
-old_is_protected = minetest.is_protected
+local old_is_protected = minetest.is_protected
function minetest.is_protected(pos, name)
if not areas:canInteract(pos, name) then
return true