mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 02:16:29 +03:00
fixed #648
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user