diff options
author | darkrose <lisa@ltmnet.com> | 2012-07-16 02:19:38 +1000 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-07-22 17:40:41 +0300 |
commit | 506203345ba2795aa0af68a434f4b77cf50e664a (patch) | |
tree | 51e168ed612bb0bcb7f2e0e2e77242e50bd8e855 /games/minimal | |
parent | c259f7c8bd67e38c7be19a90c5113dbf8fd13670 (diff) | |
download | minetest-506203345ba2795aa0af68a434f4b77cf50e664a.tar.gz minetest-506203345ba2795aa0af68a434f4b77cf50e664a.tar.bz2 minetest-506203345ba2795aa0af68a434f4b77cf50e664a.zip |
Implement formspec
Diffstat (limited to 'games/minimal')
-rw-r--r-- | games/minimal/mods/default/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/minimal/mods/default/init.lua b/games/minimal/mods/default/init.lua index cb424cb5b..b3bbc5fe8 100644 --- a/games/minimal/mods/default/init.lua +++ b/games/minimal/mods/default/init.lua @@ -1125,7 +1125,7 @@ minetest.register_node("default:sign_wall", { on_construct = function(pos) --local n = minetest.env:get_node(pos) local meta = minetest.env:get_meta(pos) - meta:set_string("formspec", "hack:sign_text_input") + meta:set_string("formspec", "field[text;;${text}]") meta:set_string("infotext", "\"\"") end, on_receive_fields = function(pos, formname, fields, sender) |