1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 22:05:12 +00:00

fix: player selection in tactical challenge

This commit is contained in:
RedDeadDepresso 2024-01-08 19:11:19 +00:00
parent 56aab11f52
commit df43305ade

View File

@ -33,10 +33,10 @@ class TacticalChallenge(TacticalChallengeUI):
return self.config.stored.TacticalChallengeTicket.value return self.config.stored.TacticalChallengeTicket.value
def _player_select(self, select): def _player_select(self, select):
if select: if not select:
return random.choice(self.select_players) return random.choice(self.select_players)
else: else:
return self.select_players[select] return self.select_players[select-1]
def _handle_challenge(self, status): def _handle_challenge(self, status):
match status: match status: