DepotDownloader: Remove dead code since we're always signing into Steam3.

pull/8/head
Nicholas Hastings 13 years ago
parent 251d1dbd5a
commit d531a7decc

@ -32,7 +32,6 @@ namespace DepotDownloader
bool bApp = false; bool bApp = false;
bool bListDepots = HasParameter(args, "-listdepots"); bool bListDepots = HasParameter(args, "-listdepots");
bool bDumpManifest = HasParameter( args, "-manifest" ); bool bDumpManifest = HasParameter( args, "-manifest" );
bool bSignonSteam3 = true; // HasParameter(args, "-username") || HasParameter(args, "-anonymous");
int appId = -1; int appId = -1;
int depotId = -1; int depotId = -1;
@ -63,12 +62,6 @@ namespace DepotDownloader
if (cellId == -1) if (cellId == -1)
{ {
cellId = 0; cellId = 0;
if (!bSignonSteam3)
{
Console.WriteLine(
"Warning: Using default CellID of 0! This may lead to slow downloads. " +
"You can specify the CellID using the -cellid parameter");
}
} }
ContentDownloader.Config.CellID = cellId; ContentDownloader.Config.CellID = cellId;
@ -160,10 +153,7 @@ namespace DepotDownloader
Console.WriteLine(); Console.WriteLine();
} }
if (bSignonSteam3) ContentDownloader.InitializeSteam3(username, password);
{
ContentDownloader.InitializeSteam3(username, password);
}
if (bApp) if (bApp)
{ {

Loading…
Cancel
Save