From b705b67b39d08353c9ec75b25845718f14f4f3c9 Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Sat, 6 Apr 2019 08:18:04 -0500 Subject: [PATCH] style: use explicit type --- Assets/Mirror/Editor/Weaver/Processors/TargetRpcProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Editor/Weaver/Processors/TargetRpcProcessor.cs b/Assets/Mirror/Editor/Weaver/Processors/TargetRpcProcessor.cs index 20b91ac8b..a5bdf8c84 100644 --- a/Assets/Mirror/Editor/Weaver/Processors/TargetRpcProcessor.cs +++ b/Assets/Mirror/Editor/Weaver/Processors/TargetRpcProcessor.cs @@ -94,7 +94,7 @@ public static MethodDefinition ProcessTargetRpcCall(TypeDefinition td, MethodDef if (!NetworkBehaviourProcessor.WriteArguments(rpcWorker, md, hasNetworkConnection)) return null; - var rpcName = md.Name; + string rpcName = md.Name; int index = rpcName.IndexOf(TargetRpcPrefix); if (index > -1) {