mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Fixed #10948
This commit is contained in:
parent
78e5ff2636
commit
7447e1f2bb
2 changed files with 3 additions and 4 deletions
|
|
@ -4419,7 +4419,6 @@ public class Blocks{
|
|||
);
|
||||
|
||||
scaledHealth = 210;
|
||||
shootY = 7f;
|
||||
size = 3;
|
||||
|
||||
researchCost = with(Items.tungsten, 400, Items.silicon, 400, Items.oxide, 80, Items.beryllium, 800);
|
||||
|
|
|
|||
|
|
@ -72,15 +72,15 @@ public class LightBlock extends Block{
|
|||
public void configured(Unit player, Object value){
|
||||
super.configured(player, value);
|
||||
|
||||
if(!headless){
|
||||
renderer.minimap.update(tile);
|
||||
}
|
||||
if(!headless) renderer.minimap.update(tile);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void control(LAccess type, double p1, double p2, double p3, double p4){
|
||||
if(type == LAccess.color){
|
||||
color = Tmp.c1.fromDouble(p1).rgba8888();
|
||||
|
||||
if(!headless) renderer.minimap.update(tile);
|
||||
}
|
||||
|
||||
super.control(type, p1, p2, p3, p4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue