mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Stats Cleanup
This commit is contained in:
parent
e8f735cab9
commit
275427dab3
@ -136,9 +136,8 @@ EPOCH_TopStats = [];
|
|||||||
_name = "Unknown";
|
_name = "Unknown";
|
||||||
_array = (['PlayerData', _UID] call EPOCH_fnc_server_hiveGETRANGE) param [1,[]];
|
_array = (['PlayerData', _UID] call EPOCH_fnc_server_hiveGETRANGE) param [1,[]];
|
||||||
if !(_array isequalto []) then {
|
if !(_array isequalto []) then {
|
||||||
_name = _array select 0;
|
_newstats2 pushback [_value,_UID,_array select 0];
|
||||||
};
|
};
|
||||||
_newstats2 pushback [_value,_UID,_name];
|
|
||||||
};
|
};
|
||||||
} foreach (_TopStatsDb select _foreachindex);
|
} foreach (_TopStatsDb select _foreachindex);
|
||||||
EPOCH_TopStats pushback _newstats2;
|
EPOCH_TopStats pushback _newstats2;
|
||||||
|
Loading…
Reference in New Issue
Block a user