Skip to content

Commit

Permalink
Actually fix the diesel tank multiply by 10 bug
Browse files Browse the repository at this point in the history
Follow up to f48115e
  • Loading branch information
cam72cam committed Dec 14, 2023
1 parent dd03fbc commit 7e7516b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void loadData(DataBlock data) throws Exception {

DataBlock properties = data.getBlock("properties");
if (!isCabCar()) {
fuelCapacity_l = properties.getValue("fuel_capacity_l").asInteger() * internal_inv_scale * 10;
fuelCapacity_l = properties.getValue("fuel_capacity_l").asInteger() * internal_inv_scale * Config.ConfigBalance.DieselLocomotiveTankMultiplier;
fuelEfficiency = properties.getValue("fuel_efficiency_%").asInteger();
hasDynamicTractionControl = properties.getValue("dynamic_traction_control").asBoolean();
} else {
Expand Down

0 comments on commit 7e7516b

Please sign in to comment.