Revert changes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user