Fix modded lobbys

This commit is contained in:
D1GQ committed 2024-09-17 17:16:33 -05:00
1 parent 476d5c1e1f
commit 20f8af3cc7
1 file changed
+1 -1
+1 -1
View File
@@ -153,7 +153,7 @@ internal static class RPC
{
if (player == null || player.IsLocalPlayer() || player.Data == null) return;
var flag = Enum.IsDefined(typeof(CustomRPC), (int)unchecked(callId)) || Enum.IsDefined(typeof(RpcCalls), callId);
var flag = Enum.IsDefined(typeof(CustomRPC), unchecked(callId)) || Enum.IsDefined(typeof(RpcCalls), callId);
if (!flag && player.IsHost())
{