diff --git a/addons/mk6mortar/functions/fnc_canUnloadMagazine.sqf b/addons/mk6mortar/functions/fnc_canUnloadMagazine.sqf index 8b2fc0d3ed..b1d6593574 100644 --- a/addons/mk6mortar/functions/fnc_canUnloadMagazine.sqf +++ b/addons/mk6mortar/functions/fnc_canUnloadMagazine.sqf @@ -19,7 +19,7 @@ params ["_static","_unit"]; private ["_canUnloadMagazine","_ammoCount"]; -if !(alive _static && GVAR(useAmmoHandling)) exitWith {false}; +if !(alive _static && GVAR(useAmmoHandling) && _static getVariable [QGVAR(initialized),false]) exitWith {false}; _canUnloadMagazine = false; _ammoCount = ((magazinesAllTurrets _static) select 1) select 2;