Skip to content

Commit

Permalink
Deactivate new FX when appropriate
Browse files Browse the repository at this point in the history
Otherwise they display in flight briefly at the beginning
  • Loading branch information
blowfishpro committed Apr 5, 2016
1 parent 61b5c9c commit bb1043c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Binary file modified GameData/AJE/Plugins/AJE.dll
Binary file not shown.
14 changes: 14 additions & 0 deletions Source/AJEJet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,20 @@ public override void FXUpdate()
part.Effect(powerEffectName2, engineSolver.GetFXPower());
}

public override void DeactivatePowerFX()
{
base.DeactivatePowerFX();

part.Effect(powerEffectName2, 0f);
}

public override void DeactivateLoopingFX()
{
base.DeactivateLoopingFX();

part.Effect(spoolEffectName2, 0f);
}

public bool Afterburning => (TAB > 0f);

public float GetEmissiveTemp()
Expand Down

0 comments on commit bb1043c

Please sign in to comment.