Weaver.ProcessSiteMethod uses correct processed function check name

This commit is contained in:
vis2k 2019-01-02 17:17:37 +01:00
parent 2f8125ef70
commit 2ad3aca857

View File

@ -898,7 +898,7 @@ static void ProcessSiteMethod(ModuleDefinition moduleDef, TypeDefinition td, Met
if (md.Name == ".cctor" || if (md.Name == ".cctor" ||
md.Name == "OnDeserialize" || md.Name == "OnDeserialize" ||
md.Name.StartsWith("UNet") || md.Name == NetworkBehaviourProcessor.ProcessedFunctionName ||
md.Name.StartsWith("CallCmd") || md.Name.StartsWith("CallCmd") ||
md.Name.StartsWith("InvokeCmd") || md.Name.StartsWith("InvokeCmd") ||
md.Name.StartsWith("InvokeRpc") || md.Name.StartsWith("InvokeRpc") ||