This commit is contained in:
buthed010203
2021-08-30 12:20:01 -04:00
parent ba9d2c6036
commit cf6bea5e65

View File

@@ -231,11 +231,9 @@ public class HudUi {
t.add(logicBtn).padLeft(4 * 8f).size(3 * 8f).row(); t.add(logicBtn).padLeft(4 * 8f).size(3 * 8f).row();
}); });
Table waveTable = (Table)((Group)((Group)ui.hudGroup.getChildren().get(5)) //HudFragment#118, name: overlaymarker Table waveTable = (Table) scene.find("waves");
.getChildren().get(mobile ? 2 : 0)) //HudFragment#192, name: wave/editor Table table = (Table)waveTable.getChildren().first(); //HudFragment#198, name: x
.getChildren().get(0); //HudFragment#196, name: waves Table statusTable = (Table)waveTable.getChildren().get(1); // TODO: Use scene.find("statustable") when https://github.com/Anuken/Mindustry/pull/5904 is merged
Table table = (Table)waveTable.getChildren().get(0); //HudFragment#198, name: x
Table statusTable = (Table) waveTable.getChildren().get(1);
waveTable.removeChild(statusTable); waveTable.removeChild(statusTable);
table.row(); table.row();