Convert ContentInstaller into a manifest module.

This commit is contained in:
Paul Chote
2015-03-07 09:40:01 +00:00
parent 5552000d69
commit 2de91a4c4e
7 changed files with 15 additions and 17 deletions

View File

@@ -40,7 +40,7 @@ namespace OpenRA.Mods.Common.LoadScreens
// Check whether the mod content is installed
// TODO: The installation code has finally been beaten into shape, so we can
// finally move it all into the planned "Manage Content" panel in the modchooser mod.
var installData = Game.ModData.Manifest.ContentInstaller;
var installData = Game.ModData.Manifest.Get<ContentInstaller>();
var installModContent = !installData.TestFiles.All(f => GlobalFileSystem.Exists(f));
var installModMusic = args != null && args.Contains("Install.Music");