修复敌人在终点死亡偶尔卡死,不能生成下一波的bug
This commit is contained in:
parent
f7cc8455af
commit
05ee943ed9
@ -117,6 +117,9 @@ public class enemy : Role
|
||||
{
|
||||
UIContorl.instance.Hp -= 1;
|
||||
UIContorl.instance.ShowRedMask();
|
||||
|
||||
//½ÇÉ«ËÀÍö
|
||||
SpawnMonster.intance.enemysList.Remove(this.gameObject);
|
||||
Destroy(this.gameObject);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user