merge call of FileSystem.LoadFromManifest into modData ctor

This commit is contained in:
Bob
2010-08-21 17:28:51 +12:00
parent 38ffd30b28
commit bcc3cd32ae
3 changed files with 1 additions and 8 deletions

View File

@@ -34,7 +34,6 @@ namespace OpenRA.Editor
var manifest = new Manifest(new[] { currentMod });
Game.modData = new ModData( manifest );
FileSystem.LoadFromManifest( manifest );
Rules.LoadRules(manifest, new Map());
@@ -61,7 +60,6 @@ namespace OpenRA.Editor
var manifest = new Manifest(new[] { currentMod });
Game.modData = new ModData( manifest );
FileSystem.LoadFromManifest( manifest );
// load the map
var map = new Map(new Folder(mapname));
@@ -87,7 +85,6 @@ namespace OpenRA.Editor
var manifest = new Manifest(new[] { currentMod });
Game.modData = new ModData( manifest );
FileSystem.LoadFromManifest( manifest );
PrepareMapResources(manifest, map);