mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Weaver.ProcessSiteMethod: fixed OnDeserialize check
This commit is contained in:
parent
7d73e6ad5d
commit
0710c720ef
@ -897,7 +897,7 @@ static void ProcessSiteMethod(ModuleDefinition moduleDef, TypeDefinition td, Met
|
|||||||
//Weaver.DLog(td, " ProcessSiteMethod " + md);
|
//Weaver.DLog(td, " ProcessSiteMethod " + md);
|
||||||
|
|
||||||
if (md.Name == ".cctor" ||
|
if (md.Name == ".cctor" ||
|
||||||
md.Name == "OnUnserializeVars" ||
|
md.Name == "OnDeserialize" ||
|
||||||
md.Name.StartsWith("UNet") ||
|
md.Name.StartsWith("UNet") ||
|
||||||
md.Name.StartsWith("CallCmd") ||
|
md.Name.StartsWith("CallCmd") ||
|
||||||
md.Name.StartsWith("InvokeCmd") ||
|
md.Name.StartsWith("InvokeCmd") ||
|
||||||
|
Loading…
Reference in New Issue
Block a user