[F] Maybe fixed some PractiseMode problems

pull/84/head
Clansty 2024-11-14 22:52:40 +08:00
parent b190e54285
commit 705b6cc03d
No known key found for this signature in database
GPG Key ID: 3A6BE8BAF2EDE134
1 changed files with 10 additions and 0 deletions

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)