summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--street_signs/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/street_signs/init.lua b/street_signs/init.lua
index 9c70cc8..3c08ab3 100644
--- a/street_signs/init.lua
+++ b/street_signs/init.lua
@@ -340,7 +340,7 @@ end
street_signs.update_sign = function(pos, fields)
local meta = minetest.get_meta(pos)
- local text = (fields and fields.text) and fields.text or meta:get_string("text")
+ local text = fields and fields.text or meta:get_string("text")
text = trim_input(text)
meta:set_string("infotext", make_infotext(text).." ")