Remove obsolete mount hack

This commit is contained in:
reaperrr
2015-09-29 21:09:53 +02:00
parent 17ff3864e8
commit 95709f1157
2 changed files with 6 additions and 5 deletions

View File

@@ -74,11 +74,6 @@ namespace OpenRA
SpriteSequenceLoader = (ISpriteSequenceLoader)ctor.Invoke(new[] { this });
SpriteSequenceLoader.OnMissingSpriteError = s => Log.Write("debug", s);
// HACK: Mount only local folders so we have a half-working environment for the asset installer
GlobalFileSystem.UnmountAll();
foreach (var dir in Manifest.Folders)
GlobalFileSystem.Mount(dir);
defaultRules = Exts.Lazy(() => RulesetCache.Load());
initialThreadId = System.Threading.Thread.CurrentThread.ManagedThreadId;
@@ -92,6 +87,11 @@ namespace OpenRA
LoadScreen.Display();
}
public void MountFiles()
{
GlobalFileSystem.LoadFromManifest(Manifest);
}
public void InitializeLoaders()
{
// all this manipulation of static crap here is nasty and breaks