Skip to content

Commit

Permalink
Merge pull request #205 from SSchulze1989/develop
Browse files Browse the repository at this point in the history
Hotfix: Make default standing configuration usable for real this time
  • Loading branch information
SSchulze1989 authored Nov 15, 2024
2 parents 665c3ba + cdd96e2 commit 0da13c6
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,14 @@ private static StandingCalculationConfiguration DefaultStandingConfiguration(Sea
LeagueId = season.LeagueId,
SeasonId = season.SeasonId,
EventId = eventId,
SortOptions = [SortOptions.PenPtsAsc, SortOptions.PenPtsAsc, SortOptions.WinsDesc, SortOptions.IncsAsc],
WeeksCounted = 999,
UseCombinedResult = true,
};
}

private static StandingCalculationConfiguration EmptyStandingConfiguration()
{
return new StandingCalculationConfiguration()
{
SortOptions = [SortOptions.PenPtsAsc, SortOptions.PenPtsAsc, SortOptions.WinsDesc, SortOptions.IncsAsc],
WeeksCounted = 999,
UseCombinedResult = true,
};
return new StandingCalculationConfiguration();
}
}

0 comments on commit 0da13c6

Please sign in to comment.