Attempt #1 to trick Arma into ACE arsenal

This commit is contained in:
2025-05-27 22:44:36 +03:00
parent ebbc537cd8
commit 08317ffc77
3 changed files with 9 additions and 9 deletions

View File

@@ -67,7 +67,7 @@ while {true} do {
// Get loadouts either from ACE or BI arsenals
private ["_loadouts_data"];
if (KP_liberation_ace && KP_liberation_arsenal_type) then {
if (KP_liberation_ace && !KP_liberation_arsenal_type) then {
_loadouts_data = +(profileNamespace getVariable ["ace_arsenal_saved_loadouts", []]);
} else {
private _saved_loadouts = +(profileNamespace getVariable "bis_fnc_saveInventory_data");
@@ -191,7 +191,7 @@ while {true} do {
if ((lbCurSel 203) > 0) then {
private _selectedLoadout = _loadouts_data select ((lbCurSel 203) - 1);
if (KP_liberation_ace && KP_liberation_arsenal_type) then {
if (KP_liberation_ace && !KP_liberation_arsenal_type) then {
player setUnitLoadout (_selectedLoadout select 1);
} else {
[player, [profileNamespace, _selectedLoadout]] call BIS_fnc_loadInventory;