From d2ccf6a10f2eb34ca4a3be16714ee3b0d193dd91 Mon Sep 17 00:00:00 2001 From: AChesheireCat Date: Tue, 10 Dec 2024 13:22:54 -0500 Subject: [PATCH] Export Define Text Fix https://github.com/BourbonWarfare/POTATO/issues/608 - Brings the SNIPER_ATTACHMENTS, SPOTTER_ATTACHMENTS, and PISTOL_ATTACHMENTS exported text back in-line with what is present on BWMF loadout files --- addons/arsenalExport/functions/fnc_export.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/arsenalExport/functions/fnc_export.sqf b/addons/arsenalExport/functions/fnc_export.sqf index a0002a0d3..0d3e3356c 100644 --- a/addons/arsenalExport/functions/fnc_export.sqf +++ b/addons/arsenalExport/functions/fnc_export.sqf @@ -147,12 +147,12 @@ _lines pushBack format ['#define SAM_MAG %1', [GVAR(loadout_sam), GVAR(loadout_s _lines pushBack format ["// Sniper"]; _lines pushBack format ['#define SNIPER "%1"', GVAR(loadout_sniper)]; _lines pushBack format ['#define SNIPER_MAG %1', [GVAR(loadout_sniper), GVAR(loadout_sniperMags), SNIPER_ROUNDS] call _fnc_getMags]; -_lines pushBack format ['#define SNIPER_OPTIC %1', [GVAR(loadout_sniperAttachments)] call _fnc_formatList]; +_lines pushBack format ['#define SNIPER_ATTACHMENTS %1', [GVAR(loadout_sniperAttachments)] call _fnc_formatList]; _lines pushBack format ["// Spotter"]; _lines pushBack format ['#define SPOTTER "%1"', GVAR(loadout_spotter)]; _lines pushBack format ['#define SPOTTER_MAG %1', [GVAR(loadout_spotter), GVAR(loadout_spotterMags), RIFLE_ROUNDS] call _fnc_getMags]; -_lines pushBack format ['#define SPOTTER_OPTIC %1', [GVAR(loadout_spotterAttachments)] call _fnc_formatList]; +_lines pushBack format ['#define SPOTTER_ATTACHMENTS %1', [GVAR(loadout_spotterAttachments)] call _fnc_formatList]; _lines pushBack format ["// SMG"]; _lines pushBack format ['#define SMG "%1"', GVAR(loadout_smg)]; @@ -161,7 +161,7 @@ _lines pushBack format ['#define SMG_MAG %1', [GVAR(loadout_smg), GVAR(loadout_s _lines pushBack format ["// Pistol"]; _lines pushBack format ['#define PISTOL "%1"', GVAR(loadout_pistol)]; _lines pushBack format ['#define PISTOL_MAG %1', [GVAR(loadout_pistol), GVAR(loadout_pistolMags), PISTOL_ROUNDS] call _fnc_getMags]; -_lines pushBack format ['#define PISTOL_OPTIC %1', [GVAR(loadout_pistolAttachments)] call _fnc_formatList]; +_lines pushBack format ['#define PISTOL_ATTACHMENTS %1', [GVAR(loadout_pistolAttachments)] call _fnc_formatList]; _lines pushBack format ["// Grenades"]; _lines pushBack format ["#define LEADER_GRENADES BASE_FRAG,LEADER_SMOKES,SIDE_CHEM_LIGHT"];