Skip to content

Commit

Permalink
Fix #140 once again
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeija committed Apr 30, 2014
1 parent f1eaee2 commit a691619
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mesecons_detector/init.lua
Expand Up @@ -11,9 +11,8 @@ local object_detector_make_formspec = function (pos)
end

local object_detector_on_receive_fields = function(pos, formname, fields)
if fields.quit then
return
end
if not fields.scanname or not fields.digiline_channel then return end;

local meta = minetest.get_meta(pos)
meta:set_string("scanname", fields.scanname)
meta:set_string("digiline_channel", fields.digiline_channel)
Expand Down

0 comments on commit a691619

Please sign in to comment.