From ad5787ee750c68d8bd2dccde70902a840ec039ca Mon Sep 17 00:00:00 2001 From: br0kenpixel Date: Mon, 4 May 2026 13:25:30 +0200 Subject: [PATCH] fix incorrect animation name --- Assets/Scripts/ZombieController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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