mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
TargetRpcProcessor.ProcessMethodsValidateTargetRpc simplified
This commit is contained in:
parent
c964ef7855
commit
d0fa4505d8
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user