Remove redundant prototype resolving (#4322)

This commit is contained in:
Leon Friedrich
2023-08-27 17:24:25 +12:00
committed by GitHub
parent f448c6b8fa
commit d5ba822a79
3 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,6 @@ namespace Robust.Client
_reflectionManager.Initialize();
_prototypeManager.Initialize();
_prototypeManager.LoadDefaultPrototypes();
_prototypeManager.ResolveResults();
_userInterfaceManager.Initialize();
_eyeManager.Initialize();
_entityManager.Initialize();

View File

@@ -369,7 +369,6 @@ namespace Robust.Server
// otherwise the prototypes will be cleared
_prototype.Initialize();
_prototype.LoadDefaultPrototypes();
_prototype.ResolveResults();
_refMan.Initialize();
IoCManager.Resolve<ToolshedManager>().Initialize();

View File

@@ -1,3 +1,4 @@
#if TOOLS
using System;
using System.Collections.Generic;
using NUnit.Framework;
@@ -114,3 +115,4 @@ namespace Robust.UnitTesting.Shared.Prototypes
{
}
}
#endif