changed how signs work when pressing esc @asl97
This commit is contained in:
parent
29e9447731
commit
4e1d67f919
|
@ -1028,8 +1028,8 @@ minetest.register_node(
|
|||
end,
|
||||
on_receive_fields = function(pos, formname, fields, sender)
|
||||
--print("Sign at "..minetest.pos_to_string(pos).." got "..dump(fields))
|
||||
if fields.text == nil then return end
|
||||
local meta = minetest.get_meta(pos)
|
||||
fields.text = fields.text or meta:get_string("text")
|
||||
minetest.log("action", (sender:get_player_name() or "")..
|
||||
" wrote \""..fields.text.."\" to sign at "..
|
||||
minetest.pos_to_string(pos))
|
||||
|
|
Loading…
Reference in New Issue