Made GameMetaData Games dictionary readonly

This commit is contained in:
Justin Swanson 2019-11-14 23:43:58 -06:00
parent 37d002f95a
commit 9f86f3466d

View File

@ -71,8 +71,7 @@ namespace Wabbajack.Common
return Games.Values.FirstOrDefault(g => g.NexusName == gameName.ToLower());
}
public static Dictionary<Game, GameMetaData> Games = new Dictionary<Game, GameMetaData>
public static IReadOnlyDictionary<Game, GameMetaData> Games = new Dictionary<Game, GameMetaData>
{
/*{
Game.Morrowind, new GameMetaData()