mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-21 08:18:18 +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:
|
||||
logger.warning(f'{self.name} switch {state} asset has evaluated to unknown too many times, '
|
||||
f'asset should be re-verified')
|
||||
return False
|
||||
counter += 1
|
||||
continue
|
||||
|
||||
# Click
|
||||
if click_timer.reached():
|
||||
|
Loading…
Reference in New Issue
Block a user