Remove oramod package support.

This commit is contained in:
Paul Chote
2017-03-18 12:39:20 +00:00
parent 5d5fd7a0e8
commit e984c98565
2 changed files with 0 additions and 7 deletions

View File

@@ -53,9 +53,6 @@ namespace OpenRA
var directory = new DirectoryInfo(resolved);
foreach (var subdir in directory.EnumerateDirectories())
mods.Add(Pair.New(subdir.Name, subdir.FullName));
foreach (var file in directory.EnumerateFiles("*.oramod"))
mods.Add(Pair.New(Path.GetFileNameWithoutExtension(file.Name), file.FullName));
}
catch (Exception e)
{
@@ -94,8 +91,6 @@ namespace OpenRA
using (var bitmap = new Bitmap(stream))
icons[id] = sheetBuilder.Add(bitmap);
// Mods in the support directory and oramod packages (which are listed later
// in the CandidateMods list) override mods in the main install.
return new Manifest(id, package);
}
catch (Exception)