summaryrefslogtreecommitdiff
path: root/default.lua
diff options
context:
space:
mode:
authorBremaWeb <brandon@bremaweb.com>2013-11-30 19:45:43 -0600
committerBremaWeb <brandon@bremaweb.com>2013-11-30 19:45:43 -0600
commitbf2f311f21a4a7fd24148aa57f415d2ad6d67562 (patch)
tree151902ae06ff0cbed9065d669220e2f143be1ed4 /default.lua
parent81a12e3d38c83eacfce4a3eeaec14724dcdb4c8f (diff)
swap parameters for all calls to can_interact
Diffstat (limited to 'default.lua')
-rw-r--r--default.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.lua b/default.lua
index 5285967..926da20 100644
--- a/default.lua
+++ b/default.lua
@@ -28,7 +28,7 @@ if minetest.get_modpath("default") then
on_receive_fields = function(pos, formname, fields, sender)
--print("Sign at "..minetest.pos_to_string(pos).." got "..dump(fields))
local name = sender:get_player_name()
- if landrush.can_interact(name, pos) then
+ if landrush.can_interact(pos, name) then
local meta = minetest.env:get_meta(pos)
fields.text = fields.text or ""
print((name or "").." wrote \""..fields.text..