mirror of https://github.com/hykilpikonna/AquaDX
[F] Maybe fixed some PractiseMode problems
Build AquaMai / build (push) Has been cancelled
Details
Build AquaMai / build (push) Has been cancelled
Details
parent
e5a4b7f745
commit
c8f4a05084
|
@ -0,0 +1,25 @@
|
||||||
|
using HarmonyLib;
|
||||||
|
using MAI2.Util;
|
||||||
|
using Manager;
|
||||||
|
using Process;
|
||||||
|
|
||||||
|
namespace AquaMai.Fix;
|
||||||
|
|
||||||
|
public class TouchResetAfterTrack
|
||||||
|
{
|
||||||
|
[HarmonyPostfix]
|
||||||
|
[HarmonyPatch(typeof(ResultProcess), "OnStart")]
|
||||||
|
public static void ResultProcessOnStart()
|
||||||
|
{
|
||||||
|
SingletonStateMachine<AmManager, AmManager.EState>.Instance.StartTouchPanel();
|
||||||
|
MelonLoader.MelonLogger.Msg("[TouchResetAfterTrack] Touch panel reset");
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPostfix]
|
||||||
|
[HarmonyPatch(typeof(GamePlayManager), "SetQuickRetryFrag")]
|
||||||
|
public static void OnStart()
|
||||||
|
{
|
||||||
|
SingletonStateMachine<AmManager, AmManager.EState>.Instance.StartTouchPanel();
|
||||||
|
MelonLoader.MelonLogger.Msg("[TouchResetAfterTrack] Touch panel reset");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue