Skip to content

Commit

Permalink
Fix booster particles
Browse files Browse the repository at this point in the history
  • Loading branch information
Popax21 committed Sep 25, 2022
1 parent 856736c commit ebe1be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Procedurline/Content/CustomBooster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ protected virtual void RecolorGFX(Color col) {
Matrix colMat = ColorUtils.CalculateRecolorMatrix(IsRed ? RedColor : GreenColor, col);

//Recolor particles
AppearParticleType = Booster.P_Appear.ApplyMatrix(colMat);
BurstParticleType = P_BurstRed.ApplyMatrix(colMat, 0.05f, 0.05f);
AppearParticleType = (IsRed ? P_RedAppear : P_Appear).ApplyMatrix(colMat, 0.05f, 0.05f);
BurstParticleType = (IsRed ? P_BurstRed : P_Burst).ApplyMatrix(colMat, 0.05f, 0.05f);
}

/// <summary>
Expand Down

0 comments on commit ebe1be5

Please sign in to comment.