More isModLoaded

This commit is contained in:
jonpas 2016-06-13 15:58:42 +02:00
parent b80b7e5265
commit 6644a89fbf
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ private _gunbag = backpackContainer _target;
_unit call EFUNC(common,goKneeling);
// play sound
if (!isNil "ACE_Backpacks") then {
if (["ace_backpacks"] call EFUNC(common,isModLoaded)) then {
[_target, _gunbag] call EFUNC(backpacks,backpackOpened);
};

View File

@ -46,6 +46,6 @@ private _mass = [_weapon, _items, _magazines] call FUNC(calculateMass);
_gunbag setVariable [QGVAR(gunbagWeapon), [], true];
// play sound
if (!isNil "ACE_Backpacks") then {
if (["ace_backpacks"] call EFUNC(common,isModLoaded)) then {
[_target, _gunbag] call EFUNC(backpacks,backpackOpened);
};

View File

@ -23,7 +23,7 @@ private _gunbag = backpackContainer _target;
_unit call EFUNC(common,goKneeling);
// play sound
if (!isNil "ACE_Backpacks") then {
if (["ace_backpacks"] call EFUNC(common,isModLoaded)) then {
[_target, _gunbag] call EFUNC(backpacks,backpackOpened);
};