Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix WithTurretAimAnimation IsTraitDisabled handling #14896
The old sequence was not recovering when this trait lost its required condition while the aim anim was running.
Now it doesn't unconditionally return, but instead checks what the current sequence is and resets to base turret sequence if AimAnim is disabled.
Follow-up to #14895.
In the testcase, the cruiser displays the missile turret in the front while aiming, as long as it is undamaged. Damage it, and the default turret shows instead.