TargetRpcProcessor.ProcessMethodsValidateTargetRpc simplified

This commit is contained in:
vis2k 2019-01-02 20:04:39 +01:00
parent c964ef7855
commit d0fa4505d8

View File

@ -150,11 +150,8 @@ public static bool ProcessMethodsValidateTargetRpc(TypeDefinition td, MethodDefi
return false;
}
if (!NetworkBehaviourProcessor.ProcessMethodsValidateParameters(td, md, ca, "Target Rpc"))
{
return false;
}
return true;
// validate
return NetworkBehaviourProcessor.ProcessMethodsValidateParameters(td, md, ca, "Target Rpc");
}
}
}