Skip to content

Commit

Permalink
This seems to fix the crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR committed Jan 13, 2024
1 parent 556e432 commit 3f8c521
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected override WithInfantryBodyInfo GetDisplayInfo()

protected override void Tick(Actor self)
{
if (disguise.AsSprite != intendedSprite)
if (disguise.AsSprite != intendedSprite && !IsTraitDisabled)
{
// Force actor back to the stand state to avoid mismatched sequences
PlayStandAnimation(self);
Expand Down

0 comments on commit 3f8c521

Please sign in to comment.