Decouple unrelated if statements

This commit is contained in:
Matt Nadareski
2025-01-06 12:26:39 -05:00
parent f3eb7349bb
commit f6dd335cc0

View File

@@ -310,8 +310,9 @@ namespace SabreTools.DatItems
nodumpCount++; nodumpCount++;
continue; continue;
} }
// If it's the first non-nodump rom in the list, don't touch it // If it's the first non-nodump rom in the list, don't touch it
else if (outfiles.Count == 0 || outfiles.Count == nodumpCount) if (outfiles.Count == 0 || outfiles.Count == nodumpCount)
{ {
outfiles.Add(item); outfiles.Add(item);
continue; continue;