Merge pull request #779 from codewarrior0/patch-5

Fix #771 - 9x output on boosted Diesel
This commit is contained in:
Blood-Asp 2016-12-07 22:03:55 +01:00 committed by GitHub
commit 0df948887f

View file

@ -89,7 +89,7 @@ public class GT_MetaTileEntity_DieselEngine extends GT_MetaTileEntity_MultiBlock
fuelValue = aFuel.mSpecialValue; fuelValue = aFuel.mSpecialValue;
fuelRemaining = hatchFluid1.amount; //Record available fuel fuelRemaining = hatchFluid1.amount; //Record available fuel
this.mEUt = mEfficiency < 2000 ? 0 : (int) (2048 * ((float) mEfficiency / 10000)); //Output 0 if startup is less than 20% this.mEUt = mEfficiency < 2000 ? 0 : 2048; //Output 0 if startup is less than 20%
this.mProgresstime = 1; this.mProgresstime = 1;
this.mMaxProgresstime = 1; this.mMaxProgresstime = 1;
this.mEfficiencyIncrease = 15; this.mEfficiencyIncrease = 15;