Skip to content

Commit

Permalink
Implement track set fetching in FileSystemTrackManager
Browse files Browse the repository at this point in the history
The fixes championship games in single player.
  • Loading branch information
StenAL committed May 24, 2024
1 parent 45afa56 commit 08c5fb9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,8 @@ public TrackSet getTrackSet(String name) {
.orElse(null);
}

// Tracksets are broken as far as I know, so this should cause no harm,
// kept because ChampionsipGame still needs it
public List<Track> getTrackSet(int number) {
return Collections.emptyList();
return trackSets.get(number).getTracks();
}

public List<TrackSet> getTrackSets() {
Expand Down

0 comments on commit 08c5fb9

Please sign in to comment.