Skip to content

Commit

Permalink
fix track ties
Browse files Browse the repository at this point in the history
  • Loading branch information
tctree333 committed Apr 22, 2024
1 parent 4edb963 commit b30c434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpreter/placing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default class Placing implements Model<PlacingRep> {
((a.isolatedPoints as number) - (b.isolatedPoints as number)) *
(this.tournament?.reverseScoring ? -1 : 1)
)
?.findIndex((p) => p === this) ?? 0) + 1;
?.findIndex((p) => p.isolatedPoints === this.isolatedPoints) ?? 0) + 1;

this.isolatedTrackPoints = this.explicit
? this.trackPlace
Expand Down

0 comments on commit b30c434

Please sign in to comment.