summaryrefslogtreecommitdiff
path: root/protection.lua
diff options
context:
space:
mode:
Diffstat (limited to 'protection.lua')
-rw-r--r--protection.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/protection.lua b/protection.lua
index 7fbb3bf..5adcd7e 100644
--- a/protection.lua
+++ b/protection.lua
@@ -2,7 +2,7 @@ landrush.offense = {}
function landrush.can_interact(pos, name)
- if ( pos.y < -200 ) then
+ if ( pos.y < -200 or name == '' or name == nil ) then
return true
end