battery fix

This commit is contained in:
Anuken
2023-04-01 09:55:54 -04:00
parent b88a215dc5
commit cc3694ce4a
2 changed files with 2 additions and 2 deletions

View File

@ -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){

View File

@ -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");