diff --git a/README.md b/README.md index acbc392..e41d6a2 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,6 @@ nuitka --mingw --standalone --onefile --show-progress --show-memory --output-dir * 给胜利和失败界面添加音乐 * 修复已经死亡的僵尸会触发大嘴花、土豆雷甚至小推车的问题 * 用蓝色滤镜标识冷冻的僵尸 -* 修复铲子铲出来的空位上无法种植物的bug ## 截屏 diff --git a/source/state/level.py b/source/state/level.py index 57b0b47..3aff6ed 100644 --- a/source/state/level.py +++ b/source/state/level.py @@ -261,7 +261,7 @@ class Level(tool.State): for i in self.plant_groups[map_y]: if(x >= i.rect.x and x <= i.rect.right and y >= i.rect.y and y <= i.rect.bottom): - i.kill() + self.killPlant(i) return # 检查小铲子的位置有没有被点击