From b5e9e6e9b08e2efa8b3c7f499ceeb66bb9f4dd09 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 4 Oct 2020 21:37:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Fix=20l=C3=B6=C3=B6p=20color=20v?= =?UTF-8?q?anishing=20during=20the=20animation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Objects/ScrollingObjects/Loop.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/ScrollingObjects/Loop.gd b/Objects/ScrollingObjects/Loop.gd index 4e10f83..b4f4490 100644 --- a/Objects/ScrollingObjects/Loop.gd +++ b/Objects/ScrollingObjects/Loop.gd @@ -9,7 +9,7 @@ signal picked_up func _ready(): rng.randomize() - $Sprite.modulate = Color.from_hsv(rng.randf_range(0.0, 1.0), 0.4, 1) + $Sprite.self_modulate = Color.from_hsv(rng.randf_range(0.0, 1.0), 0.4, 1) func _on_Loop_body_entered(body):