Steam Engine: Replace fuel_amount with GetFuelAmount() where possible

liquid_container
Mark 2016-02-26 23:30:17 +01:00
parent 52884fb685
commit 8f7d823633
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ public func ContentsCheck()
return;
// If there is fuel available let the network know.
if (fuel_amount > 0 || GetFuelContents())
if (GetFuelAmount() > 0 || GetFuelContents())
RegisterPowerProduction(SteamEngine_produced_power);
return;
}
@ -137,7 +137,7 @@ protected func WorkAbort()
func RefillFuel(bool cancel)
{
// Check if there is still enough fuel available.
if (fuel_amount <= 0)
if (GetFuelAmount() <= 0)
{
var fuel_extracted;