mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-09 23:37:51 +07:00
battery fix
This commit is contained in:
@ -472,7 +472,7 @@ public class JoinDialog extends BaseDialog{
|
|||||||
}
|
}
|
||||||
|
|
||||||
int columns(){
|
int columns(){
|
||||||
return Mathf.clamp((int)((Core.graphics.getWidth() / Scl.scl() * 0.85f) / targetWidth()), 1, 3);
|
return Mathf.clamp((int)((Core.graphics.getWidth() / Scl.scl() * 0.9f) / targetWidth()), 1, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
void addCommunityHost(Host host, Table container){
|
void addCommunityHost(Host host, Table container){
|
||||||
|
@ -12,7 +12,7 @@ import mindustry.world.draw.*;
|
|||||||
import mindustry.world.meta.*;
|
import mindustry.world.meta.*;
|
||||||
|
|
||||||
public class Battery extends PowerDistributor{
|
public class Battery extends PowerDistributor{
|
||||||
public DrawBlock drawer;
|
public @Nullable DrawBlock drawer;
|
||||||
|
|
||||||
public Color emptyLightColor = Color.valueOf("f8c266");
|
public Color emptyLightColor = Color.valueOf("f8c266");
|
||||||
public Color fullLightColor = Color.valueOf("fb9567");
|
public Color fullLightColor = Color.valueOf("fb9567");
|
||||||
|
Reference in New Issue
Block a user