Correct past workaround

This commit is contained in:
JustArchi
2018-09-27 01:57:46 +02:00
parent 28c10db66c
commit 2bf56c8fad

View File

@@ -383,14 +383,10 @@ namespace ArchiSteamFarm {
return null;
}
List<KeyValue> apps = response["applist"]["apps"].Children;
List<KeyValue> apps = response["apps"].Children;
if ((apps == null) || (apps.Count == 0)) {
// TODO: Temporary workaround for https://github.com/SteamRE/SteamKit/issues/594
apps = response["apps"].Children;
if ((apps == null) || (apps.Count == 0)) {
Bot.ArchiLogger.LogNullError(nameof(apps));
return null;
}
Bot.ArchiLogger.LogNullError(nameof(apps));
return null;
}
HashSet<uint> result = new HashSet<uint>(apps.Count);