Fix use_texture_alpha = "opaque" to use_texture_alpha = "clip"

Needed for hanging signs.
This commit is contained in:
bri cassa 2021-02-28 11:53:59 +01:00
parent 472f977779
commit e588072095

View File

@ -23,7 +23,7 @@ signs_lib.register_sign("basic_signs:sign_wall_locked", {
allow_onpole = true,
allow_onpole_horizontal = true,
allow_yard = true,
use_texture_alpha = "opaque",
use_texture_alpha = "clip",
})
signs_lib.register_sign("basic_signs:sign_wall_glass", {
@ -94,7 +94,7 @@ signs_lib.register_sign("basic_signs:sign_wall_plastic", {
allow_onpole = true,
allow_onpole_horizontal = true,
allow_yard = true,
use_texture_alpha = "opaque",
use_texture_alpha = "clip",
})
-- array : color, translated color, default text color
@ -138,7 +138,7 @@ for i, color in ipairs(sign_colors) do
allow_onpole = true,
allow_onpole_horizontal = true,
allow_yard = true,
use_texture_alpha = "opaque",
use_texture_alpha = "clip",
})
minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_onpole", "basic_signs:sign_steel_"..color[1].."_onpole")