Skip to content

Commit

Permalink
Merge pull request #49 from CommunalHelper/energy-booster-deathless-bug
Browse files Browse the repository at this point in the history
set boostRed to false when touching energy booster
  • Loading branch information
vitellaryjr authored Jul 13, 2024
2 parents d30d120 + 90dd377 commit ab7bca6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Code/FLCC/EnergyBooster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ private void OnPlayer(Player player)
if (respawnTimer <= 0f && cannotUseTimer <= 0f && BoostingPlayer == null)
{
cannotUseTimer = 0.45f;
player.boostRed = false;
player.StateMachine.State = 4;
PlayerSpeed = player.Speed;
if (player.LiftSpeed != Vector2.Zero)
Expand Down

0 comments on commit ab7bca6

Please sign in to comment.