diff --git a/addons/main/functions/extract_data/fn_extract_info.sqf b/addons/main/functions/extract_data/fn_extract_info.sqf index e0ea7e9..17b9cc3 100644 --- a/addons/main/functions/extract_data/fn_extract_info.sqf +++ b/addons/main/functions/extract_data/fn_extract_info.sqf @@ -15,8 +15,6 @@ private _atak_callsign = [_unit] call armatak_fnc_extract_callsign; private _atak_altitude = _location select 2; private _atak_server_instance = missionNamespace getVariable "_atak_server_instance"; private _atak_server_instance_token = missionNamespace getVariable "_atak_server_instance_token"; -private _atak_server_instance_username = missionNamespace getVariable "_atak_server_instance_username"; -private _atak_server_instance_password = missionNamespace getVariable "_atak_server_instance_password"; _drone = vehicle (getConnectedUAVUnit _unit); @@ -25,6 +23,6 @@ if (!isNull _drone) then { _drone setVariable ["_atak_uav_callsign", "[UAV]" + name _unit]; }; -_unit_info = [_atak_uid, _atak_latitude, _atak_longitude, _atak_speed, _atak_bearing, _atak_role, _atak_callsign, _atak_altitude, _atak_server_instance, _atak_server_instance_token, _atak_server_instance_username, _atak_server_instance_password]; +_unit_info = [_atak_uid, _atak_latitude, _atak_longitude, _atak_speed, _atak_bearing, _atak_role, _atak_callsign, _atak_altitude, _atak_server_instance, _atak_server_instance_token]; _unit_info \ No newline at end of file diff --git a/src/structs.rs b/src/structs.rs index 3c8b782..d1e3f9a 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -13,8 +13,6 @@ pub struct Marker { pub hae: f64, pub api_address: String, pub api_auth_token: String, - pub api_auth_username: String, - pub api_auth_password: String, } impl FromArma for Marker { @@ -30,8 +28,6 @@ impl FromArma for Marker { hae, api_address, api_auth_token, - api_auth_username, - api_auth_password ) = <( String, f64, @@ -42,8 +38,6 @@ impl FromArma for Marker { String, f64, String, - String, - String, String )>::from_arma(data)?; Ok(Self { @@ -56,9 +50,7 @@ impl FromArma for Marker { name, hae, api_address, - api_auth_token, - api_auth_username, - api_auth_password + api_auth_token }) } }