Skip to content

Commit

Permalink
Merge pull request #662 from qsb-dev/headless-suited
Browse files Browse the repository at this point in the history
Fix initial state having headless Hearthians
  • Loading branch information
xen-42 authored Feb 23, 2024
2 parents e993f45 + b2acffd commit 2933031
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions QSB/Animation/Player/HelmetAnimator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,8 @@ public void SetHelmetInstant(bool helmetOn)
{
_fakeHelmetDitheringAnimator.SetVisible(false);
FakeHelmet.gameObject.SetActive(false);
if (!SuitGroup.activeSelf)
{
FakeHead.gameObject.SetActive(false);
}
// If the player is currently wearing their suit but has no helmet on, make sure to make the head visible (#655)
FakeHead.gameObject.SetActive(SuitGroup.activeSelf);
}
}

Expand Down

0 comments on commit 2933031

Please sign in to comment.