From 4982b1ec03eb7fa04e2e1190f1594233c7a9b935 Mon Sep 17 00:00:00 2001 From: He-Man Date: Mon, 24 Jul 2017 20:05:26 +0200 Subject: [PATCH] Fixed msg "Not all Items sold" --- .../compile/epoch_trading/EPOCH_server_makeNPCTrade.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/epoch_server/compile/epoch_trading/EPOCH_server_makeNPCTrade.sqf b/Sources/epoch_server/compile/epoch_trading/EPOCH_server_makeNPCTrade.sqf index 569795d0..82be32f3 100644 --- a/Sources/epoch_server/compile/epoch_trading/EPOCH_server_makeNPCTrade.sqf +++ b/Sources/epoch_server/compile/epoch_trading/EPOCH_server_makeNPCTrade.sqf @@ -77,6 +77,7 @@ if (_slot != -1) then { _BaseClass = _vehicle getvariable ["VEHICLE_BaseClass",""]; if !(_BaseClass isequalto "") then { _item = _BaseClass; + _itemsIn set [_foreachindex,_item]; }; removeFromRemainsCollector[_vehicle]; deleteVehicle _vehicle;