Skip to content

Commit a691619

Browse files
author
Jeija
committedApr 30, 2014
Fix #140 once again
1 parent f1eaee2 commit a691619

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎mesecons_detector/init.lua

+2-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ local object_detector_make_formspec = function (pos)
1111
end
1212

1313
local object_detector_on_receive_fields = function(pos, formname, fields)
14-
if fields.quit then
15-
return
16-
end
14+
if not fields.scanname or not fields.digiline_channel then return end;
15+
1716
local meta = minetest.get_meta(pos)
1817
meta:set_string("scanname", fields.scanname)
1918
meta:set_string("digiline_channel", fields.digiline_channel)

0 commit comments

Comments
 (0)
Please sign in to comment.