Skip to content

Commit

Permalink
[O] Do not reset touch panel when quick retry
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Nov 26, 2024
1 parent 07210a2 commit 436bdde
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions AquaMai/AquaMai.Mods/Tweaks/ResetTouchAfterTrack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,4 @@ 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");
}
}

1 comment on commit 436bdde

@Becods
Copy link
Contributor

@Becods Becods commented on 436bdde Nov 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

能否通过设置组合键来判断重开时是否要重置触摸
因为触摸失效才会重开来尝试重置(虽然换方案后没有失效问题了

Please sign in to comment.