Merge pull request #168 from ShadowNinja/fix-commandblock-quit

Fix the commandblock's check for quiting the formspec
master
Anthony Zhang 2014-07-12 16:39:06 -04:00
commit 0c62545a3a
1 changed files with 1 additions and 1 deletions

View File

@ -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)