Skip to content

Commit

Permalink
[O] Hide skip button after click
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Oct 19, 2024
1 parent a08e93d commit 3bc9f13
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions AquaMai/TimeSaving/ShowQuickEndPlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ public static void GameProcessPostStart(GameMonitor[] ____monitors)
[HarmonyPostfix]
public static void GameProcessPostUpdate(GameProcess __instance, Message[] ____message, ProcessDataContainer ___container, byte ____sequence)
{
if (____sequence > 4)
_showUi = ____sequence switch
{
_showUi = true;
}
9 => false,
> 4 => true,
_ => false
};

if (_showUi && (InputManager.GetTouchPanelAreaDown(InputManager.TouchPanelArea.B4) || InputManager.GetTouchPanelAreaDown(InputManager.TouchPanelArea.E4)))
{
Expand Down

0 comments on commit 3bc9f13

Please sign in to comment.