Fix buying from backpacks/vehicles dupe

This commit is contained in:
icomrade
2016-04-27 19:29:03 -04:00
parent e03b5bdb37
commit 17c31a5f21

View File

@@ -21,7 +21,7 @@ if( Z_AllowTakingMoneyFromBackpack ) then {
_backpackPlayer = unitBackpack player;
if (!isNull _backpackPlayer) then {
_mags = getMagazineCargo Z_vehicle;
_mags = getMagazineCargo _backpackPlayer;
_backpackMoney = [];
_kinds = _mags select 0;
_ammmounts = _mags select 1;