diff --git a/Assets/Scripts/ZombieController.cs b/Assets/Scripts/ZombieController.cs index e4ab762..54484f5 100644 --- a/Assets/Scripts/ZombieController.cs +++ b/Assets/Scripts/ZombieController.cs @@ -96,7 +96,7 @@ public class ZombieController : MonoBehaviour private void Die() { Debug.Log($"{gameObject.name} je mŕtvy!"); - animator.SetTrigger("die"); + animator.SetTrigger("Die"); Destroy(gameObject, 2f); } } \ No newline at end of file