From 05da4286fb95c00053ce8a1951e4280e76868ab2 Mon Sep 17 00:00:00 2001 From: Nenkai Date: Mon, 12 Feb 2024 11:35:49 +0100 Subject: [PATCH] No printing w/ filter --- GBFRDataTools/Program.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/GBFRDataTools/Program.cs b/GBFRDataTools/Program.cs index d553d26..9e8f9cf 100644 --- a/GBFRDataTools/Program.cs +++ b/GBFRDataTools/Program.cs @@ -83,11 +83,14 @@ public static void ExtractAll(ExtractAllVerbs verbs) { try { - Console.WriteLine($"[{i + 1}/{archive.ArchiveFilesHashTable.Count}] Extracting: {f.Key}"); - i++; - if (checkFilter && !f.Key.Contains(verbs.Filter)) + { + i++; continue; + } + + Console.WriteLine($"[{i + 1}/{archive.ArchiveFilesHashTable.Count}] Extracting: {f.Key}"); + i++; if (!verbs.Overwrite && File.Exists(Path.Combine(dir, "data", f.Key))) {