mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Opt: Skip unknown state in Switch.set
This commit is contained in:
parent
649f11b363
commit
13d8c9100d
@ -153,9 +153,7 @@ class Switch:
|
|||||||
if counter >= 1:
|
if counter >= 1:
|
||||||
logger.warning(f'{self.name} switch {state} asset has evaluated to unknown too many times, '
|
logger.warning(f'{self.name} switch {state} asset has evaluated to unknown too many times, '
|
||||||
f'asset should be re-verified')
|
f'asset should be re-verified')
|
||||||
return False
|
|
||||||
counter += 1
|
counter += 1
|
||||||
continue
|
|
||||||
|
|
||||||
# Click
|
# Click
|
||||||
if click_timer.reached():
|
if click_timer.reached():
|
||||||
|
Loading…
Reference in New Issue
Block a user