diff --git a/Client/Assets/Scripts/Systems/GameEndSystem.cs b/Client/Assets/Scripts/Systems/GameEndSystem.cs index 6dba75db8e..01b30e6c58 100644 --- a/Client/Assets/Scripts/Systems/GameEndSystem.cs +++ b/Client/Assets/Scripts/Systems/GameEndSystem.cs @@ -135,7 +135,7 @@ public void OnCrewDropped(PlayerRef playerRef) } } - [Rpc(RpcSources.All, RpcTargets.StateAuthority)] + [Rpc(RpcSources.All, RpcTargets.All)] public void Rpc_EndCrewGame(NetworkBool isWin, PlayerRef playerRef = default) { if (isWin) @@ -152,7 +152,7 @@ public void Rpc_EndCrewGame(NetworkBool isWin, PlayerRef playerRef = default) CrewNum--; } - [Rpc(RpcSources.All, RpcTargets.StateAuthority)] + [Rpc(RpcSources.All, RpcTargets.All)] public void RPC_ResetDropCrew() { if (Managers.NetworkMng.IsTestScene) @@ -161,7 +161,7 @@ public void RPC_ResetDropCrew() DroppedCrew = false; } - [Rpc(RpcSources.All, RpcTargets.StateAuthority)] + [Rpc(RpcSources.All, RpcTargets.All)] public void RPC_ResetKilledCrew() { if (Managers.NetworkMng.IsTestScene) @@ -170,7 +170,7 @@ public void RPC_ResetKilledCrew() KilledCrew = false; } - [Rpc(RpcSources.All, RpcTargets.StateAuthority)] + [Rpc(RpcSources.All, RpcTargets.All)] public void RPC_ResetWinedCrew() { if (Managers.NetworkMng.IsTestScene)