mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Replace BIS_fnc_sortBy by sort for interact_menu occlusion
This commit is contained in:
parent
20e45b6d1e
commit
4a074d4e31
@ -144,9 +144,7 @@ if (count GVAR(collectedActionPoints) > 1) then {
|
||||
// Do the oclusion pass
|
||||
|
||||
// Order action points according to z
|
||||
// @todo: after 1.43 is released switch BIS_fnc_sortBy with sort
|
||||
GVAR(collectedActionPoints) = [GVAR(collectedActionPoints),[],{_x select 0},"ASCEND"] call BIS_fnc_sortBy;
|
||||
//GVAR(collectedActionPoints) sort true;
|
||||
GVAR(collectedActionPoints) sort true;
|
||||
|
||||
private ["_i","_j","_delta"];
|
||||
for [{_i = count GVAR(collectedActionPoints) - 1}, {_i > 0}, {_i = _i - 1}] do {
|
||||
|
Loading…
Reference in New Issue
Block a user