diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-29 13:50:33 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-29 13:50:33 +0200 |
commit | f94a3040a9fe64cc5d818e2335939143acfa1649 (patch) | |
tree | a00a638e0b1933ceca2ca8fff592f87a04d0f6ae /core/src/ch/asynk | |
parent | 483455ad98cde4b0ac931283b88dd8b62a59ae25 (diff) | |
download | RustAndDust-f94a3040a9fe64cc5d818e2335939143acfa1649.zip RustAndDust-f94a3040a9fe64cc5d818e2335939143acfa1649.tar.gz |
OptionsMenu: apply new values before playing sound
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/rustanddust/menu/OptionsMenu.java | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |