Skip to content

Commit

Permalink
fix: add back scope in switch
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Apr 28, 2024
1 parent d941724 commit f507bea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Shokofin/API/Info/ShowInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,11 @@ public ShowInfo(Group group, List<SeasonInfo> seasonList, ILogger logger, bool u
break;
case Ordering.OrderType.Default:
case Ordering.OrderType.Chronological:
case Ordering.OrderType.ChronologicalIgnoreIndirect:
case Ordering.OrderType.ChronologicalIgnoreIndirect: {
int targetId = group.IDs.MainSeries;
foundIndex = seasonList.FindIndex(s => s.Shoko.IDs.Shoko == targetId);
break;
}
}

// Fallback to the first series if we can't get a base point for seasons.
Expand Down

0 comments on commit f507bea

Please sign in to comment.