mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Weaver.ProcessSiteMethod uses correct processed function check name
This commit is contained in:
parent
2f8125ef70
commit
2ad3aca857
@ -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") ||
|
||||||
|
Loading…
Reference in New Issue
Block a user