Skip to content

Commit

Permalink
Fix buying from backpacks/vehicles dupe
Browse files Browse the repository at this point in the history
  • Loading branch information
icomrade committed Apr 27, 2016
1 parent e03b5bd commit 17c31a5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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;
Expand Down

0 comments on commit 17c31a5

Please sign in to comment.