From b8e0a4d9b02c9e7aace4f28d6243680eb957685a Mon Sep 17 00:00:00 2001 From: "firedcto@gmail.com" Date: Mon, 29 Jul 2024 15:38:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=A4=E4=BA=BA=E9=98=9F?= =?UTF-8?q?=E4=BC=8D=E4=BC=9A=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/task/BaseCombatTask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/task/BaseCombatTask.py b/src/task/BaseCombatTask.py index 56b19c5..fefd378 100644 --- a/src/task/BaseCombatTask.py +++ b/src/task/BaseCombatTask.py @@ -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: