From 909b83ae3c084d50c82a12971a341213f8245cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Fri, 20 May 2022 14:52:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/component/plant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/component/plant.py b/source/component/plant.py index b36c9c1..427a457 100755 --- a/source/component/plant.py +++ b/source/component/plant.py @@ -646,7 +646,7 @@ class Chomper(Plant): pg.mixer.Sound(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))) ,"resources", "sound", "bigchomp.ogg")).play() if self.attack_zombie.alive(): self.shouldDiggest = True - self.attack_zombie.kill() + self.attack_zombie.kill() if (self.frame_index + 1) == self.frame_num: if self.shouldDiggest: self.setDigest()