Fixed my retardation

I was using > instead of >= here for some reason
This commit is contained in:
Puppet committed 2026-02-24 11:06:28 -08:00
1 parent 34380b2370
commit 0fb849e878
1 file changed
+3 -3
+3 -3
View File
@@ -33,10 +33,10 @@ public partial class BerryLogic : Node2D {
(BerryType == "ultra") ? 5 :
(BerryType == "speedy") ? 10 : 0;
Globals.Score += ScoreAdder;
if (Globals.Score > Globals.HighScore) {
Globals.HighScore += ScoreAdder;
if (Globals.Score >= Globals.HighScore) {
Globals.HighScore = Globals.Score + ScoreAdder;
}
Globals.Score += ScoreAdder;
if (BerryType == "normal") {
PlaySound("res://Audio/SFX/Eat.mp3", 80f);