Skip to content

Commit

Permalink
修复两人队伍会异常
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Jul 29, 2024
1 parent 3b53ba7 commit b8e0a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/task/BaseCombatTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def load_chars(self):
logger.info(f'update char3 to {char.name}')
else:
if len(self.chars) == 3:
self.chars.pop(0)
self.chars = self.chars[:2]
logger.info(f'team size changed to 2')

for char in self.chars:
Expand Down

0 comments on commit b8e0a4d

Please sign in to comment.