Steam engine: Reduced duplicate code

liquid_container
Mark 2016-02-09 18:49:09 +01:00
parent fb397618df
commit 734987cd8d
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public func ContentsCheck()
return;
// If there is fuel available let the network know.
if (fuel_amount > 0 || FindObject(Find_Container(this), Find_Func("IsFuel")))
if (fuel_amount > 0 || GetFuelContents())
RegisterPowerProduction(SteamEngine_produced_power);
return;
}