1
0
mirror of https://github.com/mt-mods/signs_lib.git synced 2024-12-25 16:50:17 +01:00

fix minor global warning

This commit is contained in:
Vanessa Dannenberg 2019-09-18 13:55:19 -04:00
parent 4b2abfadce
commit 2d29a539f8

View File

@ -532,7 +532,7 @@ function signs_lib.update_sign(pos, fields)
text = trim_input(text) text = trim_input(text)
local owner = meta:get_string("owner") local owner = meta:get_string("owner")
ownstr = "" local ownstr = ""
if owner ~= "" then ownstr = S("Locked sign, owned by @1\n", owner) end if owner ~= "" then ownstr = S("Locked sign, owned by @1\n", owner) end
meta:set_string("text", text) meta:set_string("text", text)