Iron Engine Fix, removed the iron engine explosion options

This commit is contained in:
ZeldoKavira 2012-07-25 12:07:09 -04:00
parent 1ca0d48e31
commit 739ef3e450

View file

@ -140,6 +140,8 @@ public class EngineIron extends Engine {
int extraHeat = heat - COOLANT_THRESHOLD;
IronEngineCoolant currentCoolant = IronEngineCoolant.getCoolantForLiquid(new LiquidStack(coolantId, coolantQty, 0));
if (currentCoolant != null)
{
if(coolantQty * currentCoolant.coolingPerUnit > extraHeat) {
coolantQty -= Math.round(extraHeat / currentCoolant.coolingPerUnit);
heat = COOLANT_THRESHOLD;
@ -148,6 +150,7 @@ public class EngineIron extends Engine {
coolantQty = 0;
}
}
}
if (heat > 0 && (penaltyCooling > 0 || !tile.isRedstonePowered)) {
heat -= 10;