fix mob death condition

This commit is contained in:
dart 2022-04-03 13:00:38 +03:00
parent 964b07f937
commit 41ef4cf4db

View File

@ -34,7 +34,7 @@ public void ApplyDamage(float damage)
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
if (health < 0) if (health <= 0)
{ {
overMind.DeathGoToPull(gameObject); overMind.DeathGoToPull(gameObject);
} }