Merge pull request #1491 from ebaydayz/patch-1

Change count back to forEach
This commit is contained in:
vbawol
2014-07-31 12:23:20 -05:00

View File

@@ -66,7 +66,7 @@ switch _option do {
_countIn = _x select 1;
_qty = { (_x == _itemIn) || (configName(inheritsFrom(configFile >> "cfgMagazines" >> _x)) == _itemIn) } count magazines player;
if (_qty < _countIn) exitWith { _missing = _itemIn; _missingQty = (_countIn - _qty); _proceed = false; };
} count _requirements;
} forEach _requirements;
if (_proceed) then {
player playActionNow "Medic";