fix incorrect animation name

This commit is contained in:
2026-05-04 13:25:30 +02:00
parent 06a72c107f
commit ad5787ee75
+1 -1
View File
@@ -96,7 +96,7 @@ public class ZombieController : MonoBehaviour
private void Die() private void Die()
{ {
Debug.Log($"{gameObject.name} je mŕtvy!"); Debug.Log($"{gameObject.name} je mŕtvy!");
animator.SetTrigger("die"); animator.SetTrigger("Die");
Destroy(gameObject, 2f); Destroy(gameObject, 2f);
} }
} }