summaryrefslogtreecommitdiff
path: root/ColorRect.gd
diff options
context:
space:
mode:
Diffstat (limited to 'ColorRect.gd')
-rw-r--r--ColorRect.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/ColorRect.gd b/ColorRect.gd
index be5c6ac..2880c31 100644
--- a/ColorRect.gd
+++ b/ColorRect.gd
@@ -9,7 +9,7 @@ func _ready() -> void:
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _physics_process(_delta: float) -> void:
if !Globals.FUN:
- color.r = 0 if name == "RestrBackground" else 0.18
+ color.r = 0.0 if name == "RestrBackground" else 0.18
else:
color.r = randi_range(0, 1)
color.g = color.r