Replace ResourcePath with ResPath (#3926)

This commit is contained in:
Ygg01
2023-04-19 15:37:46 +02:00
committed by GitHub
parent 8958b2123e
commit d6a3e1e286
87 changed files with 449 additions and 1179 deletions

View File

@@ -157,7 +157,7 @@ namespace Robust.Client
ProgramShared.FinishCheckBadFileExtensions(checkBadExtensions);
_prototypeManager.Initialize();
_prototypeManager.LoadDirectory(new ResourcePath("/EnginePrototypes/"));
_prototypeManager.LoadDirectory(new("/EnginePrototypes/"));
_prototypeManager.LoadDirectory(Options.PrototypeDirectory);
_prototypeManager.ResolveResults();
_userInterfaceManager.Initialize();
@@ -387,7 +387,7 @@ namespace Robust.Client
{
foreach (var (api, prefix) in mounts)
{
_resourceCache.MountLoaderApi(api, "", new ResourcePath(prefix));
_resourceCache.MountLoaderApi(api, "", new(prefix));
}
}