diff --git a/Shoko.Server/Scheduling/Jobs/AniDB/GetAniDBAnimeJob.cs b/Shoko.Server/Scheduling/Jobs/AniDB/GetAniDBAnimeJob.cs index 7999d4c04..1e9c5a313 100644 --- a/Shoko.Server/Scheduling/Jobs/AniDB/GetAniDBAnimeJob.cs +++ b/Shoko.Server/Scheduling/Jobs/AniDB/GetAniDBAnimeJob.cs @@ -374,7 +374,7 @@ private async Task ProcessRelations(ResponseGetAnime response) { if (!DownloadRelations) return; if (_settings.AniDb.MaxRelationDepth <= 0) return; - if (RelDepth > _settings.AniDb.MaxRelationDepth) return; + if (RelDepth >= _settings.AniDb.MaxRelationDepth) return; if (!_settings.AutoGroupSeries && !_settings.AniDb.DownloadRelatedAnime) return; var scheduler = await _schedulerFactory.GetScheduler().ConfigureAwait(false);