Code cleanup
This commit is contained in:
@@ -252,11 +252,10 @@ public class HudFragment extends Fragment{
|
||||
|
||||
if(android){
|
||||
info.label(() -> memnative.get((int)(Core.app.getJavaHeap() / 1024 / 1024), (int)(Core.app.getNativeHeap() / 1024 / 1024))).left().style(Styles.outlineLabel).name("memory2");
|
||||
info.row();
|
||||
}else{
|
||||
info.label(() -> mem.get((int)(Core.app.getJavaHeap() / 1024 / 1024))).left().style(Styles.outlineLabel).name("memory");
|
||||
info.row();
|
||||
}
|
||||
info.row();
|
||||
|
||||
info.label(() -> ping.get(netClient.getPing())).visible(net::client).left().style(Styles.outlineLabel).name("ping");
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ public class PlayerListFragment extends Fragment{
|
||||
private boolean visible = false;
|
||||
private Interval timer = new Interval();
|
||||
private TextField sField;
|
||||
private boolean found = false;
|
||||
private Seq<Player> players = new Seq<>();
|
||||
|
||||
@Override
|
||||
@@ -78,7 +77,7 @@ public class PlayerListFragment extends Fragment{
|
||||
content.clear();
|
||||
|
||||
float h = 74f;
|
||||
found = false;
|
||||
boolean found = false;
|
||||
|
||||
players.clear();
|
||||
Groups.player.copy(players);
|
||||
|
||||
Reference in New Issue
Block a user