Fix outfit preset skin not loading

This commit is contained in:
D1GQ committed 2026-03-06 12:51:24 -06:00
1 parent fd9a0e93dc
commit 8ce0dbb9eb
1 file changed
+7 -1
+7 -1
View File
@@ -17,11 +17,17 @@ internal static class PlayerTabPatch
private static float cooldown = 0f; // Button click cooldown
private static readonly List<SpriteRenderer> _favoriteIcons = [];
[HarmonyPatch(typeof(PlayerTab), nameof(PlayerTab.OnEnable))]
[HarmonyPrefix]
private static void PlayerTab_OnEnable_Prefix(PlayerTab __instance)
{
SetupOutfitPresets(__instance);
}
[HarmonyPatch(typeof(PlayerTab), nameof(PlayerTab.OnEnable))]
[HarmonyPostfix]
private static void PlayerTab_OnEnable_Postfix(PlayerTab __instance)
{
SetupOutfitPresets(__instance);
SetupFavoriteColor(__instance);
}