formspec changes 18/head
authordarkrose <lisa@ltmnet.com>
Tue, 17 Jul 2012 20:02:36 +0000 (06:02 +1000)
committerdarkrose <lisa@ltmnet.com>
Sun, 28 Oct 2012 16:03:27 +0000 (02:03 +1000)
mods/default/init.lua

index 763a03970f0a90986b8e88470538b006f047f211..2b15bdfc75b05efe457cb5130582a2fb1ae44a03 100644 (file)
@@ -1144,7 +1144,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)