Merge pull request #441 from RC-Robio/patch-1

Update EPOCH_serverLootObject.sqf
This commit is contained in:
vbawol 2015-12-08 17:40:36 -06:00
commit f872a5c713

View File

@ -64,7 +64,7 @@ if !(isNull _object) then{
case "magazine": { case "magazine": {
//_object addMagazineCargoGlobal [_randomItem, _quan]; //_object addMagazineCargoGlobal [_randomItem, _quan];
_magazineSize = getNumber (configFile >> "CfgMagazines" >> _randomItem >> "count"); _magazineSize = getNumber (configFile >> "CfgMagazines" >> _randomItem >> "count");
_object addMagazineAmmoCargo[_randomItem, _quan, ceil(random(_magazineSize))]]; _object addMagazineAmmoCargo[_randomItem, _quan, ceil(random(_magazineSize))];
_loop = false; _loop = false;
}; };