From f8e48673c1a1b5d07f532ade1b230190c36f74cc Mon Sep 17 00:00:00 2001 From: eraser1 Date: Sat, 29 Aug 2015 13:28:38 -0500 Subject: [PATCH] Use additem instead of addmagazine for FillCrate --- @ExileServer/addons/a3_dms/scripts/FillCrate.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@ExileServer/addons/a3_dms/scripts/FillCrate.sqf b/@ExileServer/addons/a3_dms/scripts/FillCrate.sqf index afba3d4..49e3b65 100644 --- a/@ExileServer/addons/a3_dms/scripts/FillCrate.sqf +++ b/@ExileServer/addons/a3_dms/scripts/FillCrate.sqf @@ -89,7 +89,7 @@ if ((_wepCount>0) && {count _weps>0}) then _weapon = _weps call BIS_fnc_selectRandom; _ammo = _weapon call DMS_selectMagazine; _box addWeaponCargoGlobal _weapon; - _box addMagazineCargoGlobal [_ammo, (4 + floor(random 3))]; + _box addItemCargoGlobal [_ammo, (4 + floor(random 3))]; }; };