Skip to content

Commit

Permalink
not for modded
Browse files Browse the repository at this point in the history
  • Loading branch information
Rabek009 committed Oct 15, 2024
1 parent 42fcabf commit e9500b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/RPC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ public static void SetRoleblock(this PlayerControl player, bool roleblock)
{
}
}
if (AmongUsClient.Instance.AmHost)
if (AmongUsClient.Instance.AmHost && !Main.IsModded[player.PlayerId])
{
if (roleblock)
player.RpcDesyncUpdateSystem(SystemTypes.Comms, 128);
Expand Down

0 comments on commit e9500b2

Please sign in to comment.