Check for access to other app when depotfromapp is specified, otherwise continue with existing depot information

pull/8/head
Ryan Kistner 11 years ago
parent 0b722996b5
commit 52d45da141

@ -221,7 +221,15 @@ namespace DepotDownloader
}
steam3.RequestAppInfo(otherAppId);
if (AccountHasAccess(otherAppId))
{
return GetSteam3DepotManifest(depotId, otherAppId, branch);
} else {
string contentName = GetAppOrDepotName(INVALID_DEPOT_ID, otherAppId);
string contentDepotName = GetAppOrDepotName(depotId, appId);
Console.WriteLine("Dependent app {0} ({1}) for depot {2} ({3}) is not available from this account.", otherAppId, contentName, depotId, contentDepotName);
}
}
var manifests = depotChild["manifests"];

Loading…
Cancel
Save