mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-06 07:30:35 +07:00
Fixed #7299
This commit is contained in:
parent
0f831d598d
commit
8b6d3a67f3
@ -14,6 +14,7 @@ import mindustry.gen.*;
|
||||
import mindustry.graphics.*;
|
||||
import mindustry.ui.*;
|
||||
import mindustry.world.blocks.heat.*;
|
||||
import mindustry.world.meta.*;
|
||||
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
@ -61,6 +62,13 @@ public class VariableReactor extends PowerGenerator{
|
||||
() -> entity.heat / maxHeat));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setStats(){
|
||||
super.setStats();
|
||||
|
||||
stats.add(Stat.input, maxHeat, StatUnit.heatUnits);
|
||||
}
|
||||
|
||||
//TODO: draw warmup fraction on block?
|
||||
public class VariableReactorBuild extends GeneratorBuild implements HeatConsumer{
|
||||
public float[] sideHeat = new float[4];
|
||||
|
Loading…
Reference in New Issue
Block a user