From fcb55e52fcf49d913b819c0417abfbef15a90619 Mon Sep 17 00:00:00 2001 From: Yvonne Schmidt Date: Mon, 2 Dec 2024 01:11:38 +0100 Subject: [PATCH] fixed esc in BuildingAdminMenu --- .../java/pp/monopoly/client/gui/BuildingAdminMenu.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/BuildingAdminMenu.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/BuildingAdminMenu.java index a96d8e2..d903c03 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/BuildingAdminMenu.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/BuildingAdminMenu.java @@ -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