diff --git a/OpenRA.Game/FileSystem/FileSystem.cs b/OpenRA.Game/FileSystem/FileSystem.cs index b37cd3b638..f34f1534fa 100644 --- a/OpenRA.Game/FileSystem/FileSystem.cs +++ b/OpenRA.Game/FileSystem/FileSystem.cs @@ -50,8 +50,6 @@ namespace OpenRA.FileSystem return new ZipFile(this, filename); if (filename.EndsWith(".oramap", StringComparison.InvariantCultureIgnoreCase)) return new ZipFile(this, filename); - if (filename.EndsWith(".oramod", StringComparison.InvariantCultureIgnoreCase)) - return new ZipFile(this, filename); if (filename.EndsWith(".RS", StringComparison.InvariantCultureIgnoreCase)) return new D2kSoundResources(this, filename); if (filename.EndsWith(".Z", StringComparison.InvariantCultureIgnoreCase)) diff --git a/OpenRA.Game/InstalledMods.cs b/OpenRA.Game/InstalledMods.cs index 78f8ebed49..c21f2d33da 100644 --- a/OpenRA.Game/InstalledMods.cs +++ b/OpenRA.Game/InstalledMods.cs @@ -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)