diff --git a/Assets/Mirror/Editor/Weaver/Weaver.cs b/Assets/Mirror/Editor/Weaver/Weaver.cs index d507480a5..fc09ce311 100644 --- a/Assets/Mirror/Editor/Weaver/Weaver.cs +++ b/Assets/Mirror/Editor/Weaver/Weaver.cs @@ -213,12 +213,6 @@ static internal void ConfirmGeneratedCodeClass() } } - - static void ProcessPropertySites() - { - PropertySiteProcessor.ProcessSitesModule(CurrentAssembly.MainModule); - } - static bool ProcessNetworkBehaviourType(TypeDefinition td) { if (!NetworkBehaviourProcessor.WasProcessed(td)) @@ -688,7 +682,7 @@ static bool Weave(string assName, IEnumerable dependencies, IAssemblyRes // this must be done for ALL code, not just NetworkBehaviours try { - ProcessPropertySites(); + PropertySiteProcessor.ProcessSitesModule(CurrentAssembly.MainModule); } catch (Exception e) {