Implementation of #7325
This commit is contained in:
@@ -14,6 +14,7 @@ import mindustry.world.draw.*;
|
||||
public class HeatConductor extends Block{
|
||||
public float visualMaxHeat = 15f;
|
||||
public DrawBlock drawer = new DrawDefault();
|
||||
public boolean splitHeat = false;
|
||||
|
||||
public HeatConductor(String name){
|
||||
super(name);
|
||||
@@ -90,7 +91,7 @@ public class HeatConductor extends Block{
|
||||
|
||||
@Override
|
||||
public float heatFrac(){
|
||||
return heat / visualMaxHeat;
|
||||
return (heat / visualMaxHeat) / (splitHeat ? 3f : 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user