Skip to content

Commit

Permalink
fix #55
Browse files Browse the repository at this point in the history
  • Loading branch information
McDiod committed Jan 27, 2020
1 parent 328c04b commit cec1e06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/common/fn_updateLeaderboard.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

private _stats = EGVAR(missionSetup,statsArray);
private _allPlayerUIDs = EGVAR(missionSetup,allPlayerUIDs);
private _allPlayingPlayers = allPlayers select {_x getVariable [QGVAR(isPlaying),false]};
private _allPlayingPlayersScores = _allPlayingPlayers apply {[_x getVariable [QGVAR(currentScore),0],_x]};
private _allPlayingPlayers = allPlayers select {_x getVariable [QEGVAR(missionSetup,isPlaying),false]};
private _allPlayingPlayersScores = _allPlayingPlayers apply {[_x getVariable [QEGVAR(missionSetup,currentScore),0],_x]};
_allPlayingPlayersScores sort false;

//UPDATE STATS =================================================================
Expand Down

0 comments on commit cec1e06

Please sign in to comment.