Skip to content
Permalink
Browse files
Merge pull request #151 from CiaranG/lua-formspec
Handle luacontroller formspec events correctly
  • Loading branch information
Uberi committed Mar 11, 2014
2 parents a59f53d + 5d3cba0 commit 8440d05e8c0fe7d64edccc6f8581c63f42087151
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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)

0 comments on commit 8440d05

Please sign in to comment.