DetailTileMap.visible = Shared.background_option > 0

This commit is contained in:
Harmony Honey Monroe 2025-03-05 19:07:41 -05:00
parent 248ae6efe6
commit dff188fd23

View file

@ -31,3 +31,4 @@ func set_wood_color(arg := wood_color):
func background_signal():
var f = float(Shared.background_option)
modulate = Color.black.linear_interpolate(Color.white, f / 10.0)
visible = f > 0