[F] Maybe fixed some PractiseMode problems

This commit is contained in:
Clansty
2024-11-14 22:52:40 +08:00
parent e7a615b0e5
commit c18c9ff596

View File

@@ -152,6 +152,16 @@ public class PractiseMode
ui = null;
}
[HarmonyPatch(typeof(GameProcess), "OnRelease")]
[HarmonyPostfix]
public static void GameProcessPostRelease()
{
repeatStart = -1;
repeatEnd = -1;
speed = 1;
ui = null;
}
[HarmonyPatch(typeof(GameCtrl), "Initialize")]
[HarmonyPostfix]
public static void GameCtrlPostInitialize(GameCtrl __instance)