error with zombie and attack anmation
This commit is contained in:
parent
f26c88ffdc
commit
bcab0407a7
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ namespace DangerousD.GameCore.GameObjects.LivingEntities.Monsters
|
||||||
if (AppManager.Instance.GameManager.players[0].IsAlive)
|
if (AppManager.Instance.GameManager.players[0].IsAlive)
|
||||||
{
|
{
|
||||||
Attack();
|
Attack();
|
||||||
|
isAttack = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
base.OnCollision(gameObject);
|
base.OnCollision(gameObject);
|
||||||
|
|
Loading…
Add table
Reference in a new issue