aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-20 16:34:44 +0200
committertpart <tpart120@proton.me>2024-09-20 16:34:44 +0200
commita7013fabd50edae443ebcb84bd32f49604a9a186 (patch)
treec615dcf4f27d421a52a5d4102d71e933794caf59 /client
parenta809aaf2736a6cfe169212cf8f08e97de24e37e8 (diff)
downloadhurrycurry-a7013fabd50edae443ebcb84bd32f49604a9a186.tar
hurrycurry-a7013fabd50edae443ebcb84bd32f49604a9a186.tar.bz2
hurrycurry-a7013fabd50edae443ebcb84bd32f49604a9a186.tar.zst
Fix "Amount of particles must be greater than 0." error
Diffstat (limited to 'client')
-rw-r--r--client/menu/rating/rating.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/menu/rating/rating.gd b/client/menu/rating/rating.gd
index 2d6eaa13..ed3acf12 100644
--- a/client/menu/rating/rating.gd
+++ b/client/menu/rating/rating.gd
@@ -16,7 +16,7 @@
#
extends Menu
-const PARTICLE_AMOUNTS = [0, 6, 32, 128]
+const PARTICLE_AMOUNTS = [1, 6, 32, 128]
@onready var title: Label = $MarginContainer/PanelContainer/VBoxContainer/Text/Title
@onready var subtitle: Label = $MarginContainer/PanelContainer/VBoxContainer/Text/Subtitle
@@ -49,7 +49,7 @@ func show_rating(stars_: int, points: int):
particles.amount = PARTICLE_AMOUNTS[stars_]
- if stars_ > 0:
+ if stars_ > 1:
particles.emitting = true
func _on_close_pressed():