Skip to content

Commit

Permalink
Filter out (Unowned?) DLC packs. Might filter all dunno
Browse files Browse the repository at this point in the history
  • Loading branch information
kinsi55 committed Nov 28, 2021
1 parent 2dcec17 commit 6cda31a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AppLogic/MapPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public async Task ProcessBeatmapPool() {

var maps = beatmapLevelsModel
.allLoadedBeatmapLevelPackCollection.beatmapLevelPacks
.Where(x => !(x is PreviewBeatmapLevelPackSO))
.SelectMany(x => x.beatmapLevelCollection.beatmapLevels)
.Where(x => x.songDuration - x.songTimeOffset >= minLength);

Expand Down

0 comments on commit 6cda31a

Please # to comment.