@@ -78,10 +78,6 @@ public class Tower : Character
break;
case CharacterState.Die:
isDie = false;
- if (isLockSoul)
- {
- GetComponentInChildren<LockSoul>().ReleaseAllSouls();
- }
default:
@@ -110,6 +106,10 @@ public class Tower : Character
}
+ if (isLockSoul)
+ {
+ GetComponentInChildren<LockSoul>().ReleaseAllSouls();
+ }
ani.Play("die", 0, 0);
aniCollider.Play("Die", 0, 0);
isDie = true;