[F] Maybe fixed some PractiseMode problems

This commit is contained in:
Clansty
2024-11-14 22:52:40 +08:00
parent b190e54285
commit 705b6cc03d

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)