Skip to content

Commit

Permalink
Fix #140 by adding a save button to the Player Detector
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeija committed Jan 19, 2014
1 parent 8a71f51 commit ee37977
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mesecons_detector/init.lua
Expand Up @@ -6,7 +6,8 @@ local object_detector_make_formspec = function (pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", "size[9,2.5]" ..
"field[0.3, 0;9,2;scanname;Name of player to scan for (empty for any):;${scanname}]"..
"field[0.3,1.5;4,2;digiline_channel;Digiline Channel (optional):;${digiline_channel}]")
"field[0.3,1.5;4,2;digiline_channel;Digiline Channel (optional):;${digiline_channel}]"..
"button_exit[7,0.75;2,3;;Save]")
end

local object_detector_on_receive_fields = function(pos, formname, fields)
Expand Down

0 comments on commit ee37977

Please sign in to comment.