From 800182f7e2dc7453cec443666fbde09c9fb51bcf Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Wed, 4 May 2016 14:20:23 -0400 Subject: [PATCH] Fix can't buy backpack into vehicle with Advanced Trading The typo here was causing all vehicles to return 0 for transportMaxBackpacks. --- .../actions/AdvancedTrading/functions/z_at_allowBuying.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_allowBuying.sqf b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_allowBuying.sqf index 31ca345d9..e4e3821c9 100644 --- a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_allowBuying.sqf +++ b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_allowBuying.sqf @@ -131,7 +131,7 @@ if(_selection == 1) then{ //vehicle _allowedWeapons = getNumber (configFile >> 'CfgVehicles' >> (typeOf Z_vehicle) >> 'transportMaxWeapons') - count(_normalWeaps); _allowedMags = getNumber (configFile >> 'CfgVehicles' >> (typeOf Z_vehicle) >> 'transportMaxMagazines') - count(_normalMags); - _allowedBackpacks = getNumber (configFile >> 'CfgVehicles' >> (typeOf Z_vehicle) >> 'transportMaxBackpacks ') - count(_normalBags); + _allowedBackpacks = getNumber (configFile >> 'CfgVehicles' >> (typeOf Z_vehicle) >> 'transportMaxBackpacks') - count(_normalBags); }; _check1 = false;