mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-17 00:15:13 +00:00
fix(tc): stick at certain status
This commit is contained in:
parent
db813c9efb
commit
d82e206463
@ -116,8 +116,8 @@ class TacticalChallenge(UI):
|
|||||||
if self.appear_then_click(CHALLENGE_LOSE):
|
if self.appear_then_click(CHALLENGE_LOSE):
|
||||||
return TCStatus.LOSE
|
return TCStatus.LOSE
|
||||||
case TCStatus.WIN | TCStatus.LOSE:
|
case TCStatus.WIN | TCStatus.LOSE:
|
||||||
if self.appear(CHALLENGE_WIN) or self.appear(CHALLENGE_LOSE):
|
if self.appear_then_click(CHALLENGE_WIN) or self.appear_then_click(CHALLENGE_LOSE):
|
||||||
return TCStatus.RESULT
|
return status
|
||||||
is_valid, ticket = self._get_ticket()
|
is_valid, ticket = self._get_ticket()
|
||||||
if not is_valid:
|
if not is_valid:
|
||||||
return status
|
return status
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user