Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #151 from CiaranG/lua-formspec
Browse files Browse the repository at this point in the history
Handle luacontroller formspec events correctly
  • Loading branch information
Uberi committed Mar 11, 2014
2 parents a59f53d + 5d3cba0 commit 8440d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesecons_luacontroller/init.lua
Expand Up @@ -518,7 +518,7 @@ minetest.register_node(nodename, {
node_box = nodebox,
on_construct = reset_meta,
on_receive_fields = function(pos, formname, fields)
if fields.quit then
if not fields.program then
return
end
reset(pos)
Expand Down

0 comments on commit 8440d05

Please sign in to comment.