mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 07:27:59 +01:00
Fixed encorrect closing behaviour
This commit is contained in:
parent
537b36a410
commit
5e115e8c8b
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public class GuiPonySettings extends GameGui {
|
||||||
|
|
||||||
addButton(new Label(width / 2, 5).setCentered()).getStyle().setText(getTitle().getString());
|
addButton(new Label(width / 2, 5).setCentered()).getStyle().setText(getTitle().getString());
|
||||||
addButton(new Button(width / 2 - 100, height - 25))
|
addButton(new Button(width / 2 - 100, height - 25))
|
||||||
.onClick(sender -> onClose())
|
.onClick(sender -> finish())
|
||||||
.getStyle()
|
.getStyle()
|
||||||
.setText("gui.done");
|
.setText("gui.done");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue