diff --git a/Assets/Mirror/Runtime/RemoteCalls.cs b/Assets/Mirror/Runtime/RemoteCalls.cs index a12798217..264de4fdd 100644 --- a/Assets/Mirror/Runtime/RemoteCalls.cs +++ b/Assets/Mirror/Runtime/RemoteCalls.cs @@ -108,7 +108,8 @@ static bool GetInvokerForHash(int cmdHash, RemoteCallType remoteCallType, out In // InvokeCmd/Rpc Delegate can all use the same function here internal static bool InvokeHandlerDelegate(int cmdHash, RemoteCallType remoteCallType, NetworkReader reader, NetworkBehaviour invokingType, NetworkConnectionToClient senderConnection = null) { - if (GetInvokerForHash(cmdHash, remoteCallType, out Invoker invoker) && invoker.invokeClass.IsInstanceOfType(invokingType)) + if (GetInvokerForHash(cmdHash, remoteCallType, out Invoker invoker) && + invoker.invokeClass.IsInstanceOfType(invokingType)) { invoker.invokeFunction(invokingType, reader, senderConnection); return true;