Skip to content

Commit

Permalink
Merge branch 'refs/heads/cuttingedge-merge-ServerV2' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
C9Glax committed Sep 21, 2024
2 parents 290761b + ec8eb40 commit dd0733f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tranga/Chapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ internal bool CheckChapterIsDownloaded()
FileInfo? archive = archives.FirstOrDefault(archive =>
{
Match m = volChRex.Match(archive.Name);
/*Uncommenting this section will only allow *Version without Volume number* -> *Version with Volume number* but not the other way
if (m.Groups[1].Success)
return m.Groups[1].Value == t.volumeNumber && m.Groups[2].Value == t.chapterNumber;
else
else*/
return m.Groups[2].Value == t.chapterNumber;
});
if(archive is not null && archive.FullName != correctPath)
Expand Down

0 comments on commit dd0733f

Please sign in to comment.