mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-04 20:49:34 +03:00
Don't show fuelCapactiy for bicycles in Advanced Trading
This commit is contained in:
1 parent
c52187220c
commit
60e6b85c4d
1 file changed
+1
-1
@@ -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