Don't show fuelCapactiy for bicycles in Advanced Trading

This commit is contained in:
ebaydayz
2016-08-04 17:37:53 -04:00
parent c52187220c
commit 60e6b85c4d

View File

@@ -50,7 +50,7 @@ if (isNumber (_config >> 'transportMaxBackpacks')) then {
}; };
if (isNumber (_config >> 'fuelCapacity')) then { if (isNumber (_config >> 'fuelCapacity')) then {
_fuelCapacity = getNumber (_config >> 'fuelCapacity'); _fuelCapacity = if (_class isKindOf "Bicycle") then {0} else {getNumber (_config >> 'fuelCapacity')};
}; };
if (isNumber (_config >> 'maxSpeed')) then { if (isNumber (_config >> 'maxSpeed')) then {