Skip to content

Commit

Permalink
Update RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
mxyx0412 committed Apr 14, 2024
1 parent 70f868a commit 2d10728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TheOtherRoles/RPC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ public static void jackalCreatesSidekick(byte targetId)
erasePlayerRoles(player.PlayerId, true);
Sidekick.sidekick = player;
if (player.PlayerId == CachedPlayer.LocalPlayer.PlayerId) CachedPlayer.LocalPlayer.PlayerControl.moveable = true;
if (wasSpy || wasImpostor) Sidekick.wasTeamRed = true;
if ((wasSpy || wasImpostor) && Jackal.ImpostorCanFindSidekick) Sidekick.wasTeamRed = true;
Sidekick.wasSpy = wasSpy;
Sidekick.wasImpostor = wasImpostor;
if (player == CachedPlayer.LocalPlayer.PlayerControl) SoundEffectsManager.play("jackalSidekick");
Expand Down

0 comments on commit 2d10728

Please sign in to comment.