From 2ad3aca8577eee1d66ccbce1438ed3fb0b814e74 Mon Sep 17 00:00:00 2001 From: vis2k Date: Wed, 2 Jan 2019 17:17:37 +0100 Subject: [PATCH] Weaver.ProcessSiteMethod uses correct processed function check name --- Mirror/Weaver/Weaver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mirror/Weaver/Weaver.cs b/Mirror/Weaver/Weaver.cs index 15db5ca74..2d0cc0588 100644 --- a/Mirror/Weaver/Weaver.cs +++ b/Mirror/Weaver/Weaver.cs @@ -898,7 +898,7 @@ static void ProcessSiteMethod(ModuleDefinition moduleDef, TypeDefinition td, Met if (md.Name == ".cctor" || md.Name == "OnDeserialize" || - md.Name.StartsWith("UNet") || + md.Name == NetworkBehaviourProcessor.ProcessedFunctionName || md.Name.StartsWith("CallCmd") || md.Name.StartsWith("InvokeCmd") || md.Name.StartsWith("InvokeRpc") ||