mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
fix crazy old bug (2+ years)
This commit is contained in:
1 parent
93ce43b16d
commit
d102f0db71
1 file changed
+1
@@ -2605,6 +2605,7 @@ internal static class ExtendedPlayerControl
|
||||
MessageWriter writer = AmongUsClient.Instance.StartRpcImmediately(PlayerControl.LocalPlayer.NetId, (byte)CustomRPC.SetCustomRole, SendOption.Reliable);
|
||||
writer.Write(playerId);
|
||||
writer.WritePacked((int)role);
|
||||
writer.Write(false);
|
||||
AmongUsClient.Instance.FinishRpcImmediately(writer);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user