Clean up ACE arsenal before whitelisting the objects
This commit is contained in:
@@ -108,6 +108,9 @@ if (KP_liberation_arsenalUsePreset) then {
|
|||||||
[missionNamespace, true] call BIS_fnc_addVirtualBackpackCargo;
|
[missionNamespace, true] call BIS_fnc_addVirtualBackpackCargo;
|
||||||
|
|
||||||
if (KP_liberation_ace && KP_liberation_arsenal_type) then {
|
if (KP_liberation_ace && KP_liberation_arsenal_type) then {
|
||||||
|
//remove everything
|
||||||
|
[player, true, false] call ace_arsenal_fnc_removeVirtualItems;
|
||||||
|
//add the whitelist
|
||||||
[player, true, false] call ace_arsenal_fnc_addVirtualItems;
|
[player, true, false] call ace_arsenal_fnc_addVirtualItems;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user