From 92beb00dff4d9f5c0a50263768f6b6a8af5c9d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Sat, 14 May 2022 16:34:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=9D=9E=E6=A4=8D=E7=89=A9?= =?UTF-8?q?=E7=B1=BB=E2=80=9C=E6=AD=BB=E4=BA=A1=E2=80=9D=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E9=9F=B3=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/state/level.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/state/level.py b/source/state/level.py index 75beb2b..bfd4b15 100644 --- a/source/state/level.py +++ b/source/state/level.py @@ -1232,7 +1232,9 @@ class Level(tool.State): # 注意这里是在描述墓碑而非墓碑吞噬者 elif targetPlant.name == c.GRAVE: self.graveSet.remove((map_x, map_y)) - elif targetPlant.name not in {c.WALLNUTBOWLING, c.TANGLEKLEP}: + elif targetPlant.name not in { c.WALLNUTBOWLING, c.TANGLEKLEP, + c.ICE_FROZEN_PLOT, c.HOLE, + c.GRAVE}: # 触发植物死亡音效 pg.mixer.Sound(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))) ,"resources", "sound", "plantDie.ogg")).play() else: