aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods
diff options
context:
space:
mode:
authordarkrose <lisa@ltmnet.com>2012-07-16 02:19:38 +1000
committerPerttu Ahola <celeron55@gmail.com>2012-07-22 17:40:41 +0300
commit506203345ba2795aa0af68a434f4b77cf50e664a (patch)
tree51e168ed612bb0bcb7f2e0e2e77242e50bd8e855 /games/minimal/mods
parentc259f7c8bd67e38c7be19a90c5113dbf8fd13670 (diff)
downloadminetest-506203345ba2795aa0af68a434f4b77cf50e664a.tar.gz
minetest-506203345ba2795aa0af68a434f4b77cf50e664a.tar.bz2
minetest-506203345ba2795aa0af68a434f4b77cf50e664a.zip
Implement formspec
Diffstat (limited to 'games/minimal/mods')
-rw-r--r--games/minimal/mods/default/init.lua2
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)