diff --git a/Assets/Scripts/Enemy/EnemyAnimationHandler.cs b/Assets/Scripts/Enemy/EnemyAnimationHandler.cs index a510a5f..e5882d7 100644 --- a/Assets/Scripts/Enemy/EnemyAnimationHandler.cs +++ b/Assets/Scripts/Enemy/EnemyAnimationHandler.cs @@ -17,10 +17,10 @@ public class EnemyAnimationHandler : MonoBehaviour } void EnemyDie() { - GetComponent().enabled = false; - GetComponent().enabled = false; - - StartCoroutine(AnimationDie()); + //GetComponent().enabled = false; + //GetComponent().enabled = false; + if (!isDying) + StartCoroutine(AnimationDie()); } IEnumerator AnimationDie()