Use additem instead of addmagazine for FillCrate

This commit is contained in:
eraser1 2015-08-29 13:28:38 -05:00
parent 6f332f4afc
commit f8e48673c1

View File

@ -89,7 +89,7 @@ if ((_wepCount>0) && {count _weps>0}) then
_weapon = _weps call BIS_fnc_selectRandom; _weapon = _weps call BIS_fnc_selectRandom;
_ammo = _weapon call DMS_selectMagazine; _ammo = _weapon call DMS_selectMagazine;
_box addWeaponCargoGlobal _weapon; _box addWeaponCargoGlobal _weapon;
_box addMagazineCargoGlobal [_ammo, (4 + floor(random 3))]; _box addItemCargoGlobal [_ammo, (4 + floor(random 3))];
}; };
}; };