修复铲子铲出来的空位上无法种植物的bug
This commit is contained in:
parent
ca1a080aef
commit
0c9d7f1468
@ -85,7 +85,6 @@ nuitka --mingw --standalone --onefile --show-progress --show-memory --output-dir
|
|||||||
* 给胜利和失败界面添加音乐
|
* 给胜利和失败界面添加音乐
|
||||||
* 修复已经死亡的僵尸会触发大嘴花、土豆雷甚至小推车的问题
|
* 修复已经死亡的僵尸会触发大嘴花、土豆雷甚至小推车的问题
|
||||||
* 用蓝色滤镜标识冷冻的僵尸
|
* 用蓝色滤镜标识冷冻的僵尸
|
||||||
* 修复铲子铲出来的空位上无法种植物的bug
|
|
||||||
|
|
||||||
## 截屏
|
## 截屏
|
||||||
|
|
||||||
|
|||||||
@ -261,7 +261,7 @@ class Level(tool.State):
|
|||||||
for i in self.plant_groups[map_y]:
|
for i in self.plant_groups[map_y]:
|
||||||
if(x >= i.rect.x and x <= i.rect.right and
|
if(x >= i.rect.x and x <= i.rect.right and
|
||||||
y >= i.rect.y and y <= i.rect.bottom):
|
y >= i.rect.y and y <= i.rect.bottom):
|
||||||
i.kill()
|
self.killPlant(i)
|
||||||
return
|
return
|
||||||
|
|
||||||
# 检查小铲子的位置有没有被点击
|
# 检查小铲子的位置有没有被点击
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user