diff --git a/Assets/Scripts/Player/PlayerNetworkController.cs b/Assets/Scripts/Player/PlayerNetworkController.cs
index 22a6da79..ff6bef8f 100644
--- a/Assets/Scripts/Player/PlayerNetworkController.cs
+++ b/Assets/Scripts/Player/PlayerNetworkController.cs
@@ -126,6 +126,19 @@ namespace Colosseum.Player
currentMana.Value = Mathf.Min(MaxMana, currentMana.Value + amount);
}
+ ///
+ /// 사망 애니메이션 재생 (모든 클라이언트에서 실행)
+ ///
+ [Rpc(SendTo.Everyone)]
+ private void PlayDeathAnimationRpc()
+ {
+ var animator = GetComponentInChildren();
+ if (animator != null)
+ {
+ animator.SetTrigger("Die");
+ }
+ }
+
///
/// 사망 처리 (서버에서만 실행)
///
@@ -149,12 +162,8 @@ namespace Colosseum.Player
skillInput.enabled = false;
}
- // 사망 애니메이션 재생
- var animator = GetComponentInChildren();
- if (animator != null)
- {
- animator.SetTrigger("Die");
- }
+ // 모든 클라이언트에서 사망 애니메이션 재생
+ PlayDeathAnimationRpc();
// 사망 이벤트 발생
OnDeath?.Invoke(this);