Skip to content

Commit 1f2d54c

Browse files
committed
fix: dont render paperdoll on face
1 parent e3d7d40 commit 1f2d54c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Intersect.Client.Core/Interface/Menu/SelectCharacterWindow.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ private void UpdateDisplay()
150150
_buttonNew.Hide();
151151

152152
// we are rendering the player facing down, then we need to know the render order of the equipments
153+
var isFace = false;
153154
for (var i = 0; i < Options.Equipment.Paperdoll.Down.Count; i++)
154155
{
155156
var equipment = Options.Equipment.Paperdoll.Down[i];
156157
var paperdollContainer = _renderLayers[i];
157-
var isFace = false;
158158

159159
// handle player/equip rendering, we just need to find the correct texture
160160
if (string.Equals("Player", equipment, StringComparison.Ordinal))
@@ -170,6 +170,12 @@ private void UpdateDisplay()
170170
}
171171
else
172172
{
173+
if (isFace)
174+
{
175+
paperdollContainer.Hide();
176+
continue;
177+
}
178+
173179
if (i >= Characters[mSelectedChar].Equipment.Length)
174180
{
175181
continue;

0 commit comments

Comments
 (0)