Apply the cap to all anime types
This commit is contained in:
parent
9057749cf9
commit
e5da604921
@ -382,7 +382,7 @@ func (anime *Anime) RefreshEpisodes() error {
|
||||
episodes = episodes.Merge(shoboiEpisodes)
|
||||
|
||||
// Cap the number of episodes
|
||||
if anime.Status == "finished" && anime.EpisodeCount > 0 && len(episodes) > anime.EpisodeCount {
|
||||
if anime.EpisodeCount > 0 && len(episodes) > anime.EpisodeCount {
|
||||
episodes = episodes[:anime.EpisodeCount]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user