Changed how DLCs are referred as.

Optional DLC settings can now be shown (loading and saving is not implemented yet)
This commit is contained in:
Jeddunk 2021-04-28 13:33:04 +02:00
parent adc067d8a2
commit e17b0a18ca
5 changed files with 30 additions and 39 deletions

View file

@ -207,7 +207,7 @@ namespace GoldbergGUI.Core.Services
{
_log.Info("Reading configuration...");
var appId = -1;
var dlcList = new List<SteamApp>();
var dlcList = new List<DlcApp>();
var steamAppidTxt = Path.Combine(path, "steam_appid.txt");
if (File.Exists(steamAppidTxt))
{
@ -235,7 +235,7 @@ namespace GoldbergGUI.Core.Services
{
AppId = Convert.ToInt32(match.Groups["id"].Value),
Name = match.Groups["name"].Value
});
} as DlcApp);
}
}
else