From 0710c720ef92ca3e1efff56ff6901e7cdb2d5297 Mon Sep 17 00:00:00 2001 From: vis2k Date: Wed, 2 Jan 2019 17:14:26 +0100 Subject: [PATCH] Weaver.ProcessSiteMethod: fixed OnDeserialize check --- 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 ef7d3814a..15db5ca74 100644 --- a/Mirror/Weaver/Weaver.cs +++ b/Mirror/Weaver/Weaver.cs @@ -897,7 +897,7 @@ static void ProcessSiteMethod(ModuleDefinition moduleDef, TypeDefinition td, Met //Weaver.DLog(td, " ProcessSiteMethod " + md); if (md.Name == ".cctor" || - md.Name == "OnUnserializeVars" || + md.Name == "OnDeserialize" || md.Name.StartsWith("UNet") || md.Name.StartsWith("CallCmd") || md.Name.StartsWith("InvokeCmd") ||