This commit is contained in:
[VB]AWOL
2013-11-24 18:41:27 -06:00
parent 5c9dfde52e
commit 86d1053012

View File

@@ -95,9 +95,9 @@ for "_x" from 1 to _total_trades do {
_qty = {_x == _part_in} count magazines player;
if (_qty >= _qty_in) then {
_part_in = configFile >> "CfgMagazines" >> _part_in;
_part_inClass = configFile >> "CfgMagazines" >> _part_in;
_removed = _removed + ([player,_part_in,_qty_in] call BIS_fnc_invRemove);
_removed = _removed + ([player,_part_inClass,_qty_in] call BIS_fnc_invRemove);
if (_removed == _qty_in) then {
// Continue with trade.