From 54df7a0b9056cc3512cd106fa3291e754ee18e36 Mon Sep 17 00:00:00 2001 From: Clansty Date: Sat, 7 Sep 2024 21:27:48 +0800 Subject: [PATCH] [F] reset HideSelfMadeCharts when enter login screen --- UX/HideSelfMadeCharts.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/UX/HideSelfMadeCharts.cs b/UX/HideSelfMadeCharts.cs index 625e0e58..288b75db 100644 --- a/UX/HideSelfMadeCharts.cs +++ b/UX/HideSelfMadeCharts.cs @@ -77,4 +77,12 @@ public class HideSelfMadeCharts _keyPressFrames = 0; } } + + [HarmonyPostfix] + [HarmonyPatch(typeof(EntryProcess), "OnStart")] + public static void EntryProcessOnStart(ref EntryProcess __instance) + { + // reset status on login + isShowSelfMadeCharts = true; + } }