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 23, 2024
1 parent 334bb09 commit 76cbf6d
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 76cbf6d

Please sign in to comment.