fixed esc in BuildingAdminMenu

This commit is contained in:
Yvonne Schmidt 2024-12-02 01:11:38 +01:00
parent 411f7ea25b
commit fcb55e52fc

View File

@ -163,14 +163,6 @@ public class BuildingAdminMenu extends Dialog {
app.getGuiNode().attachChild(background);
}
/**
* Handles the "Zurück" action.
*/
private void handleBack() {
app.getGameLogic().playSound(Sound.BUTTON);
close();
}
@Override
public void close() {
app.getGuiNode().detachChild(mainContainer);
@ -180,7 +172,7 @@ public class BuildingAdminMenu extends Dialog {
@Override
public void escape() {
handleBack();
new SettingsMenu(app).open();
}
@Override