diff --git a/src/templates/properties_vehicle.pynml b/src/templates/properties_vehicle.pynml index 1e5e77d01..5986ab232 100644 --- a/src/templates/properties_vehicle.pynml +++ b/src/templates/properties_vehicle.pynml @@ -96,7 +96,9 @@ item(FEAT_TRAINS, ${vehicle.id}, ${vehicle.numeric_id}) { - power: 0; + + power: ${1 if consist.power is not 0 else 0}; weight: 0; tractive_effort_coefficient: 0; cost_factor: 0;