hide unlicensed engines (temp hardcode)

This commit is contained in:
Alex Z 2020-03-07 02:39:24 +03:00
parent aa68a8f429
commit d7aa8d6b70

View File

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