mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
refactor: remove unnecesary function
This commit is contained in:
parent
b3b2673e09
commit
b3ee67ee28
@ -213,12 +213,6 @@ static internal void ConfirmGeneratedCodeClass()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void ProcessPropertySites()
|
|
||||||
{
|
|
||||||
PropertySiteProcessor.ProcessSitesModule(CurrentAssembly.MainModule);
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool ProcessNetworkBehaviourType(TypeDefinition td)
|
static bool ProcessNetworkBehaviourType(TypeDefinition td)
|
||||||
{
|
{
|
||||||
if (!NetworkBehaviourProcessor.WasProcessed(td))
|
if (!NetworkBehaviourProcessor.WasProcessed(td))
|
||||||
@ -688,7 +682,7 @@ static bool Weave(string assName, IEnumerable<string> dependencies, IAssemblyRes
|
|||||||
// this must be done for ALL code, not just NetworkBehaviours
|
// this must be done for ALL code, not just NetworkBehaviours
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ProcessPropertySites();
|
PropertySiteProcessor.ProcessSitesModule(CurrentAssembly.MainModule);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user