Update GT_MetaTileEntity_LargeTurbine_HPSteam.java
This commit is contained in:
parent
b4049e88a2
commit
408a07ef24
1 changed files with 3 additions and 3 deletions
|
@ -103,9 +103,9 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
||||||
float efficiency = 1.0f - Math.abs(((totalFlow - (float) aOptFlow) / aOptFlow));
|
float efficiency = 1.0f - Math.abs(((totalFlow - (float) aOptFlow) / aOptFlow));
|
||||||
if(totalFlow>aOptFlow){efficiency = 1.0f;}
|
if(totalFlow>aOptFlow){efficiency = 1.0f;}
|
||||||
tEU *= efficiency;
|
tEU *= efficiency;
|
||||||
tEU = Math.max(1, tEU * aBaseEff / 10000);
|
tEU = Math.max(1, tEU * (aBaseEff / 10000));
|
||||||
} else {
|
} else {
|
||||||
tEU = tEU * aBaseEff / 10000;
|
tEU = tEU * (aBaseEff / 10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
return tEU;
|
return tEU;
|
||||||
|
|
Loading…
Reference in a new issue