Skip to content

Commit

Permalink
fix #47 script error in updateLeaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
McDiod committed Jan 19, 2019
1 parent d4b854e commit 2872693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/common/fn_updateLeaderboard.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ private _allPlayerUIDs = (allPlayers apply {getPlayerUID _x});
_playerUID = _x;
_ID = [_stats, _playerUID, 1] call FUNC(findStringInArray);
if (_ID == -1) then {
diag_log format ["updateLeaderboard.sqf - ERROR: COULD NOT FIND PLAYER %1 DURING UPDATE.", name _x];
diag_log format ["updateLeaderboard.sqf - ERROR: COULD NOT FIND PLAYER WITH UID %1 DURING UPDATE.", _x];
} else {
_playerArray = _stats select _ID;
_playerStats = _playerArray select 3;
Expand Down

0 comments on commit 2872693

Please sign in to comment.