From f94a3040a9fe64cc5d818e2335939143acfa1649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 29 Mar 2016 13:50:33 +0200 Subject: OptionsMenu: apply new values before playing sound --- core/src/ch/asynk/rustanddust/menu/OptionsMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java b/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java index b025049..c3c6c11 100644 --- a/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java +++ b/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java @@ -164,8 +164,8 @@ public class OptionsMenu extends Patch implements MenuCtrl.Panel public MenuCtrl.MenuType touch(float x, float y) { if (okBtn.hit(x, y)) { - game.playEnter(); apply(); + game.playEnter(); return MenuCtrl.MenuType.MAIN; } else if (cancelBtn.hit(x, y)) { game.playType(); -- cgit v1.1-2-g2b99