mirror of
https://github.com/SteamRE/DepotDownloader.git
synced 2026-10-20 01:46:17 +00:00
Only show the checksum mismatch when the manifest actually exists
This commit is contained in:
1 parent
2e30364d8f
commit
bc25bba261
1 file changed
+1
-1
@@ -632,7 +632,7 @@ namespace DepotDownloader
|
||||
|
||||
newProtoManifest = ProtoManifest.LoadFromFile(newManifestFileName, out currentChecksum);
|
||||
|
||||
if (expectedChecksum == null || !expectedChecksum.SequenceEqual(currentChecksum))
|
||||
if (newProtoManifest != null && (expectedChecksum == null || !expectedChecksum.SequenceEqual(currentChecksum)))
|
||||
{
|
||||
Console.WriteLine("Manifest {0} on disk did not match the expected checksum.", depot.manifestId);
|
||||
newProtoManifest = null;
|
||||
|
||||
Reference in new issue
Block a user