Skip to content

Commit

Permalink
ace compat
Browse files Browse the repository at this point in the history
  • Loading branch information
tbox1911 committed Aug 11, 2024
1 parent 08fb657 commit 319f6f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core.liberation/addons/LARs/liberationArsenal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ if (GRLIB_ACE_enabled) then {
[myLARsBox, GRLIB_whitelisted_from_arsenal, false] call ace_arsenal_fnc_initBox;
} else {
[myLARsBox, ["GRLIB_whitelisted_from_arsenal", "GRLIB_blacklisted_from_arsenal"], false, "Liberation", { false }] call LARs_fnc_blacklistArsenal;
waitUntil {sleep 1; !isNil {myLARsBox getVariable "LARs_arsenal_Liberation_cargo"}};
private _cargo = myLARsBox getVariable ["LARs_arsenal_Liberation_cargo", []];
myLARsBox setVariable ["bis_addVirtualWeaponCargo_cargo", _cargo];
};

diag_log format ["--- LRX Arsenal initialized. blacklist: %1 - whitelist: %2", count GRLIB_blacklisted_from_arsenal, count GRLIB_whitelisted_from_arsenal];
diag_log format ["--- LRX MOD %1 use: %2 signatures", GRLIB_mod_west, count GRLIB_MOD_signature];

waitUntil {sleep 1; !isNil {myLARsBox getVariable "LARs_arsenal_Liberation_cargo"}};
private _cargo = myLARsBox getVariable ["LARs_arsenal_Liberation_cargo", []];
myLARsBox setVariable ["bis_addVirtualWeaponCargo_cargo", _cargo];
LRX_arsenal_init_done = true;

0 comments on commit 319f6f4

Please sign in to comment.