server side logic for propertyAdmin

This commit is contained in:
Johannes Schmelz
2024-12-01 18:17:46 +01:00
parent 2f025e2e1a
commit 7d0a0123e0
8 changed files with 172 additions and 32 deletions

View File

@@ -174,7 +174,7 @@ public class Toolbar extends Dialog implements GameEventListener {
propertyMenuButton.setFontSize(30);
propertyMenuButton.addClickCommands(s -> ifTopDialog(() -> {
app.getGameLogic().playSound(Sound.BUTTON);
new PropertyOverviewMenu(app).open();
new BuildingAdminMenu(app).open();
}));
return propertyMenuButton;
}