From 648cb0ba1a9a1d156750b2a8d1e1ef4f8b2ef03d Mon Sep 17 00:00:00 2001 From: vis2k Date: Mon, 31 Dec 2018 16:48:39 +0100 Subject: [PATCH] ProcessVersion comment added --- Mirror/Weaver/Processors/NetworkBehaviourProcessor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mirror/Weaver/Processors/NetworkBehaviourProcessor.cs b/Mirror/Weaver/Processors/NetworkBehaviourProcessor.cs index a0fadb931..a29ab1665 100644 --- a/Mirror/Weaver/Processors/NetworkBehaviourProcessor.cs +++ b/Mirror/Weaver/Processors/NetworkBehaviourProcessor.cs @@ -144,6 +144,8 @@ public static bool WriteArguments(ILProcessor worker, MethodDefinition md, strin return true; } + // adds empty UNetVersion(), which seems to be used to check if we already + // processed a class or not void ProcessVersion() { foreach (MethodDefinition md in m_td.Methods)