mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 06:18:01 +08:00
Revert "Fix: Catch account kicked by server maintenance"
This commit is contained in:
@@ -175,11 +175,8 @@ class InfoHandler(ModuleBase):
|
|||||||
raise GameNotRunningError
|
raise GameNotRunningError
|
||||||
# Use template match without color match due to maintenance popup
|
# Use template match without color match due to maintenance popup
|
||||||
if self.appear(LOGIN_CHECK, offset=(30, 30)):
|
if self.appear(LOGIN_CHECK, offset=(30, 30)):
|
||||||
logger.error('Account logged out, '
|
logger.warning('Account logged out, '
|
||||||
'probably because account kicked by server maintenance or another log in')
|
'probably because account kicked by server maintenance or another log in')
|
||||||
# Kill game, because game patches after maintenance can only be downloaded at game startup
|
|
||||||
self.device.app_stop()
|
|
||||||
raise GameNotRunningError
|
|
||||||
self._hot_fix_check_wait.clear()
|
self._hot_fix_check_wait.clear()
|
||||||
|
|
||||||
return appear
|
return appear
|
||||||
|
|||||||
Reference in New Issue
Block a user