Skip to content

Commit

Permalink
Crew 상태 메세지 오류 수정 (#191)
Browse files Browse the repository at this point in the history
Crew 상태 메세지 오류 수정
  • Loading branch information
suyeon-ham-01 committed Jul 5, 2024
1 parent baaac32 commit 1d0be5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Client/Assets/Scripts/Systems/GameEndSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 1d0be5a

Please sign in to comment.