Skip to content

Commit

Permalink
Re-fix suit type syncing after first reload
Browse files Browse the repository at this point in the history
  • Loading branch information
ducakar committed Jun 27, 2021
1 parent 029b2d6 commit 94af659
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

* 4.5.1
- implement neck ring hiding for standard suit in IVA
- fix suit switches via TR GUI not being applied on the first scene switch
(this was fixed in 4.2.2 and but broken again in 4.4)
* 4.5
- update for KSP 1.12, but keep backward compatibility
- add support for slim suits
Expand Down
5 changes: 4 additions & 1 deletion TextureReplacer/TRGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,10 @@ private static void UpdateKerbalSuitKinds()

if (suit != null && suit.Kind != kerbal.suit)
{
kerbal.suit = suit.Kind;
kerbal.suit = suit.Kind;
kerbal.SuitTexturePath = null;
kerbal.NormalTexturePath = null;
kerbal.SpritePath = null;
}
}
}
Expand Down

0 comments on commit 94af659

Please sign in to comment.