mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge pull request #160 from erri120/oblivion-mo2archive-fix
Changed Oblivion MO2ArchiveName to lowercase
This commit is contained in:
commit
f464ff6146
@ -50,22 +50,22 @@ namespace Wabbajack.Common
|
|||||||
public static GameMetaData GetByMO2ArchiveName(string gameName)
|
public static GameMetaData GetByMO2ArchiveName(string gameName)
|
||||||
{
|
{
|
||||||
var gamename = gameName.ToLower();
|
var gamename = gameName.ToLower();
|
||||||
return Games.Values.FirstOrDefault(g => g.MO2ArchiveName == gamename);
|
return Games.Values.FirstOrDefault(g => g.MO2ArchiveName?.ToLower() == gamename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static Dictionary<Game, GameMetaData> Games = new Dictionary<Game, GameMetaData>
|
public static Dictionary<Game, GameMetaData> Games = new Dictionary<Game, GameMetaData>
|
||||||
{
|
{
|
||||||
{
|
/*{
|
||||||
Game.Morrowind, new GameMetaData()
|
Game.Morrowind, new GameMetaData()
|
||||||
},
|
},*/
|
||||||
{
|
{
|
||||||
Game.Oblivion, new GameMetaData
|
Game.Oblivion, new GameMetaData
|
||||||
{
|
{
|
||||||
Game = Game.Oblivion,
|
Game = Game.Oblivion,
|
||||||
NexusName = "oblivion",
|
NexusName = "oblivion",
|
||||||
MO2Name = "Oblivion",
|
MO2Name = "Oblivion",
|
||||||
MO2ArchiveName = "Oblivion",
|
MO2ArchiveName = "oblivion",
|
||||||
GameLocationRegistryKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Bethesda Softworks\Oblivion"
|
GameLocationRegistryKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Bethesda Softworks\Oblivion"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user