summaryrefslogtreecommitdiff
path: root/mesecons_commandblock/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_commandblock/init.lua')
-rw-r--r--mesecons_commandblock/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_commandblock/init.lua b/mesecons_commandblock/init.lua
index d163d5c..8fd23f6 100644
--- a/mesecons_commandblock/init.lua
+++ b/mesecons_commandblock/init.lua
@@ -79,7 +79,7 @@ local function after_place(pos, placer)
end
local function receive_fields(pos, formname, fields, sender)
- if fields.quit then
+ if not fields.submit then
return
end
local meta = minetest.get_meta(pos)