Skip to content

Commit 0c62545

Browse files
committedJul 12, 2014
Merge pull request #168 from ShadowNinja/fix-commandblock-quit
Fix the commandblock's check for quiting the formspec
2 parents e88e213 + 041429c commit 0c62545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎mesecons_commandblock/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ local function after_place(pos, placer)
7979
end
8080

8181
local function receive_fields(pos, formname, fields, sender)
82-
if fields.quit then
82+
if not fields.submit then
8383
return
8484
end
8585
local meta = minetest.get_meta(pos)

0 commit comments

Comments
 (0)
Please sign in to comment.