mirror of
https://github.com/Steffo99/looping-for-loops.git
synced 2024-11-25 17:44:22 +00:00
🐞 Fix lööp color vanishing during the animation
This commit is contained in:
parent
ff85418c53
commit
b5e9e6e9b0
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ signal picked_up
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
rng.randomize()
|
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):
|
func _on_Loop_body_entered(body):
|
||||||
|
|
Loading…
Reference in a new issue