hide unlicensed engines (temp hardcode)

This commit is contained in:
Alex Z 2020-03-07 02:42:06 +03:00
parent d7aa8d6b70
commit 1d194592fd

View File

@ -130,7 +130,7 @@ namespace UniversalValveToolbox {
private void UpdateEngineList() {
var dataProvider = new DataProvider();
Engines = dataProvider.Engines.Where(engine => SteamPathsUtil.GetSteamAppManifestDataById(engine.Appid) != null).ToArray();
Engines = dataProvider.Engines.Where(engine => SteamPathsUtil.GetSteamAppDataById(engine.Appid) != null).ToArray();
if (Engines != null && Engines.Length != 0) {
comboBoxEngine.Enabled = true;