From d7aa8d6b7066f93b689f5f45f6c677fb64585700 Mon Sep 17 00:00:00 2001 From: Alex Z Date: Sat, 7 Mar 2020 02:39:24 +0300 Subject: [PATCH] hide unlicensed engines (temp hardcode) --- src/UniversalValveToolbox/UI/FormMain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UniversalValveToolbox/UI/FormMain.cs b/src/UniversalValveToolbox/UI/FormMain.cs index d582b6f..8ca7460 100644 --- a/src/UniversalValveToolbox/UI/FormMain.cs +++ b/src/UniversalValveToolbox/UI/FormMain.cs @@ -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;