From 6b8ff627a187860432c6746628be4cb0ae7d6006 Mon Sep 17 00:00:00 2001 From: Az <56699741+AlchlcDvl@users.noreply.github.com> Date: Thu, 5 Nov 2026 20:24:28 -0500 Subject: [PATCH] quick player menu fix Co-Authored-By: IdkImNeil <69025896+idkimneil@users.noreply.github.com> --- MiraAPI/Hud/CustomPlayerMenu.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/MiraAPI/Hud/CustomPlayerMenu.cs b/MiraAPI/Hud/CustomPlayerMenu.cs index 26c3b94b..e0c0a777 100644 --- a/MiraAPI/Hud/CustomPlayerMenu.cs +++ b/MiraAPI/Hud/CustomPlayerMenu.cs @@ -89,6 +89,22 @@ public class CustomPlayerMenu : CustomMultiSelectMenu { var flag = PlayerControl.LocalPlayer.Data.Role.NameColor == entry.Data.Role.NameColor; panel.SetPlayer(i, entry.Data, (Il2CppSystem.Action)onClick); + var outfit = entry.Data.DefaultOutfit; + + if (entry.Data.IsDead) + { + var currentOutfit = entry.CurrentOutfit; + + if (!string.IsNullOrEmpty(currentOutfit.SkinId)) + { + outfit = currentOutfit; + } + } + + panel.PlayerIcon.cosmetics.SetSkin(outfit.SkinId, outfit.ColorId); + panel.PlayerIcon.cosmetics.SetHat(outfit.HatId, outfit.ColorId); + panel.PlayerIcon.cosmetics.SetVisor(outfit.VisorId, outfit.ColorId); + panel.NameText.color = flag ? entry.Data.Role.NameColor : Color.white; } }