fixed close on FoodField

This commit is contained in:
Johannes Schmelz 2024-11-30 15:14:58 +01:00
parent 05680af726
commit 2c536f32cf

View File

@ -85,6 +85,7 @@ public class FoodFieldCard extends Dialog {
buyButton.addClickCommands(s -> ifTopDialog( () -> {
app.getGameLogic().playSound(Sound.BUTTON);
app.getGameLogic().send(new BuyPropertyResponse());
close();
}));
// Zentriere das Popup