mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: Wait current team shown up
This commit is contained in:
parent
3018449c9c
commit
ee3cb4f5ef
@ -60,12 +60,13 @@ class CombatTeam(UI):
|
||||
logger.warning('Wait current team timeout')
|
||||
break
|
||||
current = self._get_team()
|
||||
if current == index:
|
||||
logger.attr('Team', current)
|
||||
logger.info(f'Already selected to the correct team')
|
||||
return False
|
||||
else:
|
||||
break
|
||||
if current:
|
||||
if current == index:
|
||||
logger.attr('Team', current)
|
||||
logger.info(f'Already selected to the correct team')
|
||||
return False
|
||||
else:
|
||||
break
|
||||
|
||||
# Set team
|
||||
retry = Timer(2, count=10)
|
||||
|
Loading…
Reference in New Issue
Block a user