mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Replace usage of filter to select in tagging
This commit is contained in:
parent
1ffd23c193
commit
72c9e9da39
@ -16,7 +16,7 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
_fnc_isLeaning = {
|
||||
GVAR(tagsToTest) = GVAR(tagsToTest) select {
|
||||
params ["_tag", "_tagPosASL", "_vectorDirAndUp"];
|
||||
|
||||
_vectorDirAndUp params ["_v1", "_v2"];
|
||||
@ -34,7 +34,6 @@ _fnc_isLeaning = {
|
||||
};
|
||||
true
|
||||
};
|
||||
GVAR(tagsToTest) = [GVAR(tagsToTest), _fnc_isLeaning] call EFUNC(common,filter);
|
||||
|
||||
// If there's no more tag
|
||||
if (GVAR(tagsToTest) isEqualTo []) exitWith {
|
||||
|
Loading…
Reference in New Issue
Block a user