update register_sign to add glow effect for all signs with allow_glow check.

This commit is contained in:
tenplus1
2021-05-27 19:07:46 +00:00
committed by Vanessa Dannenberg
parent 16b9251511
commit 85dd92fb25
2 changed files with 32 additions and 8 deletions

View File

@ -16,10 +16,6 @@ signs_lib.register_sign("default:sign_wall_wood", {
allow_onpole_horizontal = true,
allow_yard = true,
use_texture_alpha = "clip",
on_punch = function(pos, node, puncher, pointed_thing)
signs_lib.glow(pos, node, puncher)
return signs_lib.update_sign
end
})
signs_lib.register_sign("default:sign_wall_steel", {