mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
49b5a0ea86
* Cleanup frag component * Optimize fnc_addTrack * Add additional cleanup * Please work? * Add more cleanup * Fix script errors * Fix/optimize spalling * Add missing changes
14 lines
275 B
Plaintext
14 lines
275 B
Plaintext
#include "script_component.hpp"
|
|
|
|
private _ret = true;
|
|
if (IS_ARRAY(_this select 0)) then {
|
|
_ret = false;
|
|
} else {
|
|
if ((_this select 0) in GVAR(trackedObjects)) then {
|
|
REM(GVAR(trackedObjects),_this select 0);
|
|
} else {
|
|
_ret = false;
|
|
};
|
|
};
|
|
_ret
|