[O] Hide skip button after click
Build AquaMai / build (push) Has been cancelled Details

pull/73/head
Clansty 2024-10-19 19:56:47 +08:00
parent a08e93d975
commit 3bc9f1382c
No known key found for this signature in database
GPG Key ID: 3A6BE8BAF2EDE134
1 changed files with 5 additions and 3 deletions

View File

@ -26,10 +26,12 @@ public class ShowQuickEndPlay
[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)))
{