diff options
author | Jeija <jeija@mesecons.net> | 2014-01-19 14:12:34 +0100 |
---|---|---|
committer | Jeija <jeija@mesecons.net> | 2014-01-19 14:12:34 +0100 |
commit | ee3797746f3179044910fc2bb5c2c13cc3c6536b (patch) | |
tree | e83b9812a220cf4ba19c48eda99b348f568a0218 | |
parent | 8a71f51b265e7f62dd070e9a9315ccc7abccc7c0 (diff) | |
download | mesecons-ee3797746f3179044910fc2bb5c2c13cc3c6536b.tar mesecons-ee3797746f3179044910fc2bb5c2c13cc3c6536b.tar.gz mesecons-ee3797746f3179044910fc2bb5c2c13cc3c6536b.tar.bz2 mesecons-ee3797746f3179044910fc2bb5c2c13cc3c6536b.tar.xz mesecons-ee3797746f3179044910fc2bb5c2c13cc3c6536b.zip |
Fix #140 by adding a save button to the Player Detector
-rw-r--r-- | mesecons_detector/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesecons_detector/init.lua b/mesecons_detector/init.lua index 7bb516b..79aa1f9 100644 --- a/mesecons_detector/init.lua +++ b/mesecons_detector/init.lua @@ -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) |