fix mob death condition
This commit is contained in:
parent
964b07f937
commit
41ef4cf4db
@ -34,7 +34,7 @@ public void ApplyDamage(float damage)
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (health < 0)
|
||||
if (health <= 0)
|
||||
{
|
||||
overMind.DeathGoToPull(gameObject);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user