1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 08:38:20 +08:00

Fix: Prevent clicking GET_SHIP when switching from page_main (#2320)

This commit is contained in:
LmeSzinc
2023-03-07 23:39:49 +08:00
parent ddc3d7d5ee
commit a18baea780

View File

@@ -568,8 +568,9 @@ class UI(InfoHandler):
"""
if button == MEOWFFICER_GOTO_DORMMENU:
self.interval_reset(GET_SHIP)
if button == MAIN_GOTO_REWARD:
self.interval_reset(GET_SHIP)
for switch_button in page_main.links.values():
if button == switch_button:
self.interval_reset(GET_SHIP)
if button == MAIN_GOTO_CAMPAIGN:
self.interval_reset(GET_SHIP)
# Shinano event has the same title as raid