Skip to content

Commit 56d8aa7

Browse files
authored
Merge pull request #42 from CommunalHelper/bigkahuna443/purple-booster-crash
Fix purple booster crash
2 parents 3c3e708 + 83a9203 commit 56d8aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Code/Entities/PurpleBooster.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ private IEnumerator BoostRoutine(Player player, Vector2 dir)
201201
this.linkVisible = player.StateMachine.State is Player.StDash or Player.StNormal;
202202
this.linkPercent = this.linkVisible ? 0.0f : 1.0f;
203203

204-
if (!this.linkVisible)
204+
if (!this.linkVisible && !player.Dead)
205205
LaunchPlayerParticles(player, -dir, P_BurstExplode);
206206

207207
while (SceneAs<Level>().Transitioning)

0 commit comments

Comments
 (0)