mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-16 19:55:12 +00:00
fix: adjust status logging sequence
This commit is contained in:
parent
bea794386c
commit
0b2487487b
@ -257,8 +257,8 @@ class Cafe(UI):
|
||||
continue
|
||||
|
||||
if action_timer.reached_and_reset():
|
||||
status = self._handle_cafe(status)
|
||||
logger.attr('Status', status)
|
||||
status = self._handle_cafe(status)
|
||||
|
||||
if not is_second_cafe_on:
|
||||
if status is CafeStatus.FINISHED:
|
||||
|
||||
@ -47,8 +47,8 @@ class Circle(UI):
|
||||
status = CircleStatus.GOT
|
||||
|
||||
if action_timer.reached_and_reset():
|
||||
status = self._handle_circle(status)
|
||||
logger.attr('Status', status)
|
||||
status = self._handle_circle(status)
|
||||
|
||||
if status is CircleStatus.FINISHED:
|
||||
break
|
||||
|
||||
@ -146,8 +146,8 @@ class TacticalChallenge(UI):
|
||||
if not ui_timer.reached():
|
||||
continue
|
||||
if action_timer.reached_and_reset():
|
||||
status = self._handle_challenge(status)
|
||||
logger.attr('Status', status.name)
|
||||
status = self._handle_challenge(status)
|
||||
if status in (TCStatus.FINAL, TCStatus.FINISHED):
|
||||
break
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user