mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Fix buying from backpacks/vehicles dupe
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user