Fixed encorrect closing behaviour

This commit is contained in:
Sollace 2019-07-22 09:54:54 +02:00
parent 537b36a410
commit 5e115e8c8b

View file

@ -75,7 +75,7 @@ public class GuiPonySettings extends GameGui {
addButton(new Label(width / 2, 5).setCentered()).getStyle().setText(getTitle().getString());
addButton(new Button(width / 2 - 100, height - 25))
.onClick(sender -> onClose())
.onClick(sender -> finish())
.getStyle()
.setText("gui.done");