Fix: Check team prepare button also

This commit is contained in:
LmeSzinc 2023-11-28 08:50:12 +08:00
parent 4ceac9a8a3
commit 31ae87d05f

View File

@ -95,7 +95,8 @@ class ForgottenHallTeam(UI):
if timeout.reached():
logger.info('Team not prepared')
return False
chosen_list = [not self.appear(s) for s in seats]
if all(chosen_list):
logger.info("Team already prepared")
return True
if self.team_prepared():
chosen_list = [not self.appear(s) for s in seats]
if all(chosen_list):
logger.info("Team already prepared")
return True