From 0062836019f4968ca4a5461621de9244ef4a0d57 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Sun, 17 Nov 2013 14:40:50 -0600 Subject: [PATCH] fixed #648 --- SQF/dayz_code/actions/trade_items.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SQF/dayz_code/actions/trade_items.sqf b/SQF/dayz_code/actions/trade_items.sqf index 9319c8edd..174455b91 100644 --- a/SQF/dayz_code/actions/trade_items.sqf +++ b/SQF/dayz_code/actions/trade_items.sqf @@ -95,6 +95,8 @@ 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; + _removed = _removed + ([player,_part_in,_qty_in] call BIS_fnc_invRemove); if (_removed == _qty_in) then {