Skip to content

Commit

Permalink
Fix 'Bucket Switcher' Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
5jiji committed Feb 29, 2024
1 parent 585f9e7 commit 23ed57a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Assets/Scripts/Games/BucketSwitcherGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ public override void CleanUpGame()

PBEffector effector = _gt.Effectors[i];
effector.ResetValue(false);

if (effector.GetEffect().hasFlag(PBEffect.Subtract))
effector.MultiplyCurrValue(2.0f);

if (i % 4 == 0)
effector.SetEffect(PBEffect.Subtract | PBEffect.Explode);
else
Expand Down

0 comments on commit 23ed57a

Please sign in to comment.