From c0c93eb36e05c4946ce5ff5a5b74d60406e361bf Mon Sep 17 00:00:00 2001 From: Valmo Trindade Date: Tue, 3 Sep 2024 00:21:32 -0300 Subject: [PATCH] added handling for no auth token provided --- addons/main/functions/extract_data/fn_extract_auth_token.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/main/functions/extract_data/fn_extract_auth_token.sqf b/addons/main/functions/extract_data/fn_extract_auth_token.sqf index ecc031d..9474706 100644 --- a/addons/main/functions/extract_data/fn_extract_auth_token.sqf +++ b/addons/main/functions/extract_data/fn_extract_auth_token.sqf @@ -12,6 +12,8 @@ if ((_atak_server_instance_token != "") and !(["error", _atak_server_instance_to private _warning = format ["ARMATAK
%1", "Authorized"]; [[_warning, 1.5]] call CBA_fnc_notify; } else { + missionNamespace setVariable ["_atak_server_instance_token", _atak_server_instance_token]; + private _warning = format ["ARMATAK
%1", "Failed to get Auth Token"]; [[_warning, 1.5]] call CBA_fnc_notify; };