Added comment

liquid_container
Mark 2016-02-27 14:43:24 +01:00
parent 0a77b58b6a
commit a524e7db2c
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ func RefillFuel()
{
// Check if there is still enough fuel available.
var no_fuel = GetFuelAmount() <= 0;
// The reserve is probably not necessary
var should_keep_reserve = IsWorking() && GetNeutralPipe() && GetFuelAmount() < GetLiquidContainerMaxFillLevel() / 2;
if (no_fuel || should_keep_reserve)
{