[F] reset HideSelfMadeCharts when enter login screen

pull/55/head
Clansty 2024-09-07 21:27:48 +08:00
parent 91238c3a9c
commit d2174364b2
No known key found for this signature in database
GPG Key ID: 3A6BE8BAF2EDE134
1 changed files with 8 additions and 0 deletions

View File

@ -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;
}
}