mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-08-20 13:04:10 +02:00
Fix #140 once again
This commit is contained in:
parent
f1eaee2281
commit
a6916191aa
@ -11,9 +11,8 @@ local object_detector_make_formspec = function (pos)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local object_detector_on_receive_fields = function(pos, formname, fields)
|
local object_detector_on_receive_fields = function(pos, formname, fields)
|
||||||
if fields.quit then
|
if not fields.scanname or not fields.digiline_channel then return end;
|
||||||
return
|
|
||||||
end
|
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_string("scanname", fields.scanname)
|
meta:set_string("scanname", fields.scanname)
|
||||||
meta:set_string("digiline_channel", fields.digiline_channel)
|
meta:set_string("digiline_channel", fields.digiline_channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user