diff --git a/1.6/Assemblies/VanillaVehiclesExpanded.dll b/1.6/Assemblies/VanillaVehiclesExpanded.dll index 7480f3f..f05be58 100644 Binary files a/1.6/Assemblies/VanillaVehiclesExpanded.dll and b/1.6/Assemblies/VanillaVehiclesExpanded.dll differ diff --git a/1.6/Source/Comps/CompRefuelingPump.cs b/1.6/Source/Comps/CompRefuelingPump.cs index 1a164b0..b191774 100644 --- a/1.6/Source/Comps/CompRefuelingPump.cs +++ b/1.6/Source/Comps/CompRefuelingPump.cs @@ -41,7 +41,7 @@ public override void CompTick() if (compFuel != null && compFuel.Fuel < compFuel.FuelCapacity) { var fuelAmount = Mathf.Min(compFuel.FuelCapacity - compFuel.Fuel, - Mathf.Min(compFuel.Fuel, Props.refuelAmountPerTick)); + Mathf.Min(Mathf.Max(0.1f, compFuel.Fuel), Props.refuelAmountPerTick)); compFuel.Refuel(fuelAmount); compRefuelable.ConsumeFuel(fuelAmount); } @@ -49,4 +49,4 @@ public override void CompTick() } } } -} \ No newline at end of file +}