mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Don't show fuelCapactiy for bicycles in Advanced Trading
This commit is contained in:
@@ -50,7 +50,7 @@ if (isNumber (_config >> 'transportMaxBackpacks')) 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 {
|
||||
|
||||
Reference in New Issue
Block a user