linted some SQF functions

This commit is contained in:
Valmo Trindade
2024-08-08 16:29:24 -03:00
parent 83a94befdd
commit 42bc94e8c7
3 changed files with 28 additions and 29 deletions

View File

@@ -24,22 +24,22 @@ if (_activated) exitWith {
_uid = _x getVariable "_atak_uid";
if (_uid == "") then {
_x call armatak_fnc_postGeoObject;
[_x] call armatak_fnc_postGeoObject;
} else {
_x call armatak_fnc_putGeoObject;
[_x] call armatak_fnc_putGeoObject;
};
}, 2, []] call CBA_fnc_addPerFrameHandler;
}, 1, []] call CBA_fnc_addPerFrameHandler;
} forEach playableUnits;
} else {
[{
_uid = player getVariable "_atak_uid";
if (_uid == "") then {
player call armatak_fnc_postGeoObject;
[player] call armatak_fnc_postGeoObject;
} else {
player call armatak_fnc_putGeoObject;
[player] call armatak_fnc_putGeoObject;
};
}, 2, []] call CBA_fnc_addPerFrameHandler;
}, 1, []] call CBA_fnc_addPerFrameHandler;
};
private _warning = format ["<t color='#FF8021'>ARMATAK</t><br/> %1", "Connected!"];