Skip to content

Commit

Permalink
fix: Display zones and runs stats properly in leaderboards
Browse files Browse the repository at this point in the history
  • Loading branch information
benjl authored and tsa96 committed Jan 22, 2024
1 parent b69d81d commit 22a9243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/hud/leaderboards.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ class HudLeaderboards {
'type',
$.Localize(data.mainTrack?.isLinear ? '#MapInfo_Type_Linear' : '#MapInfo_Type_Staged')
);
cp.SetDialogVariableInt('zones', data.mainTrack?.numZones);
cp.SetDialogVariableInt('numruns', data.stats?.completes);
cp.SetDialogVariableInt('numzones', data.mainTrack?.numZones);
cp.SetDialogVariableInt('runs', data.stats?.completes);
}

static close() {
Expand Down

0 comments on commit 22a9243

Please sign in to comment.