删除冗余

This commit is contained in:
星外之神 2022-05-15 15:47:58 +08:00
parent f8be222caf
commit 2eff1506e9

View File

@ -1465,7 +1465,6 @@ class TangleKlep(Plant):
if not self.splashing: if not self.splashing:
self.splashing = True self.splashing = True
self.changeFrames(self.splash_frames) self.changeFrames(self.splash_frames)
self.zombie_group.remove(self.attack_zombie)
self.attack_zombie.kill() self.attack_zombie.kill()
# 播放拖拽音效 # 播放拖拽音效
pg.mixer.Sound(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))) ,"resources", "sound", "tangleKelpDrag.ogg")).play() pg.mixer.Sound(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))) ,"resources", "sound", "tangleKelpDrag.ogg")).play()