Skip to content

Commit

Permalink
Don't attempt to pulse the star meter once gold has been achieved. (#941
Browse files Browse the repository at this point in the history
)
  • Loading branch information
wyrdough authored Jan 23, 2025
1 parent 3852efd commit 3951404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Script/Gameplay/HUD/ScoreBox/StarScoreDisplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private void PulseGoldMeter(Beatline beat)
return;

_goldMeterBeatCount++;
if (_goldMeterBeatCount % 2 == 0 && _currentStar == 5)
if (_goldMeterBeatCount % 2 == 0 && _currentStar == 5 && !_isGoldAchieved)
{
foreach (var star in _starObjects)
{
Expand Down

0 comments on commit 3951404

Please sign in to comment.