Various optimizations; made healer enemies explode after a while
This commit is contained in:
@@ -215,6 +215,7 @@ public class HudFragment implements Fragment{
|
||||
|
||||
for(int i = 0; i < control.getItems().length; i ++){
|
||||
int amount = control.getItems()[i];
|
||||
if(amount == 0) continue;
|
||||
String formatted = Mindustry.formatter.format(amount);
|
||||
if(amount > 99999999){
|
||||
formatted = "inf";
|
||||
|
||||
@@ -18,7 +18,7 @@ public class WeaponFragment implements Fragment{
|
||||
public void build(){
|
||||
weapontable = Core.scene.table();
|
||||
weapontable.bottom().left();
|
||||
weapontable.setVisible(()->!GameState.is(State.menu));
|
||||
weapontable.setVisible(()-> !GameState.is(State.menu));
|
||||
|
||||
if(android){
|
||||
weapontable.remove();
|
||||
|
||||
Reference in New Issue
Block a user