mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-03-30 09:12:48 +03:00
Advanced trading rework
We don't need to check for close vehicle anymore now for backpack money since we've made z_vehicle redundant.
This commit is contained in:
@@ -45,7 +45,6 @@ _maintain = {
|
||||
_enoughMoney = if (_wealth >= _amount) then { true } else { false };
|
||||
} else {
|
||||
Z_Selling = false; // Initialize gem currency before Z_canAfford.
|
||||
if (Z_AllowTakingMoneyFromVehicle) then { false call Z_checkCloseVehicle; };
|
||||
_moneyInfo = _amount call Z_canAfford;
|
||||
_enoughMoney = _moneyInfo select 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user