From 196e99b30d9c85ca7ac1726db263c3dc6a4ad52f Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Tue, 25 Apr 2023 10:33:19 -0400 Subject: [PATCH] Add support for appinfo depots section with expanded branch info. --- DepotDownloader/ContentDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index 7cee83f7..f098d988 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -244,7 +244,7 @@ namespace DepotDownloader if (manifests.Children.Count == 0 && manifests_encrypted.Children.Count == 0) return INVALID_MANIFEST_ID; - var node = manifests[branch]; + var node = manifests[branch].Children.Count > 0 ? manifests[branch]["gid"] : manifests[branch]; if (branch != "Public" && node == KeyValue.Invalid) {