Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
End Levitate when no rounds remaining
Levitate is a ConstantEffect where underlying flag is not cleared by EntityEffectManager in ClearConstantEffects(). This results in Levitate effect persisting when paired with longer-running effects. Call StopLevitating() when there are no RoundsRemaining. Also added a reference cache for LevitateMotor and EnemyMotor to avoid using GetComponent() every call.
- Loading branch information
1 parent
5c6f55c
commit e18422e
Showing
1 changed file
with
39 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters