1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

fix text not appearing on newly placed locked signs

This commit is contained in:
LazyJ 2015-04-24 12:15:35 -04:00 committed by Vanessa Ezekowitz
parent b90c03cd8e
commit c485a3a3a9

View File

@ -553,7 +553,8 @@ signs_lib.update_sign = function(pos, fields, owner)
elseif signnode.name == "signs:sign_hanging" then
sign_info = signs_lib.hanging_sign_model.textpos[minetest.get_node(pos).param2 + 1]
elseif string.find(signnode.name, "sign_wall") then
if signnode.name == "default:sign_wall" then
if signnode.name == "default:sign_wall"
or signnode.name == "locked_sign:sign_wall_locked" then
sign_info = signs_lib.regular_wall_sign_model.textpos[minetest.get_node(pos).param2 + 1]
else
sign_info = signs_lib.metal_wall_sign_model.textpos[minetest.get_node(pos).param2 + 1]