Skip to content

Commit

Permalink
Add return false to sel == null as well
Browse files Browse the repository at this point in the history
  • Loading branch information
FenPhoenix committed Apr 17, 2019
1 parent 35f4c0a commit 7e88d0d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion AngelLoader/BusinessLogic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,12 @@ void ReportProgress(ProgressReport pr)
x.Archive.RemoveExtension().EqualsI(fm.ArchiveName.RemoveExtension()) ||
x.InstalledDir.EqualsI(fm.ArchiveName.RemoveExtension()));

if (sel == null) continue;
if (sel == null)
{
// Same as above
if (scanningOne) return false;
continue;
}

var gameSup = fm.Game != Games.Unsupported;

Expand Down

0 comments on commit 7e88d0d

Please sign in to comment.