Fix ultra berry not giving score
This commit is contained in:
1 file changed
+1
-1
@@ -30,7 +30,7 @@ public partial class BerryLogic : Node2D {
|
||||
}
|
||||
|
||||
int ScoreAdder = (BerryType == "normal") ? 1 :
|
||||
(BerryType == "poison" || BerryType == "slow") ? 0 :
|
||||
(BerryType == "ultra") ? 5 :
|
||||
(BerryType == "speedy") ? 10 : 0;
|
||||
|
||||
Globals.Score += ScoreAdder;
|
||||
|
||||
Reference in new issue
Block a user