Revert "Replace ResourcePath with ResPath (#3926)" (#3949)

This commit is contained in:
metalgearsloth
2023-04-20 11:43:51 +10:00
committed by GitHub
parent 6fb8df41e5
commit d646403068
87 changed files with 1179 additions and 449 deletions

View File

@@ -157,7 +157,7 @@ namespace Robust.Client
ProgramShared.FinishCheckBadFileExtensions(checkBadExtensions);
_prototypeManager.Initialize();
_prototypeManager.LoadDirectory(new("/EnginePrototypes/"));
_prototypeManager.LoadDirectory(new ResourcePath("/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(prefix));
_resourceCache.MountLoaderApi(api, "", new ResourcePath(prefix));
}
}