summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-29 13:50:33 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-29 13:50:33 +0200
commitf94a3040a9fe64cc5d818e2335939143acfa1649 (patch)
treea00a638e0b1933ceca2ca8fff592f87a04d0f6ae /core/src/ch/asynk/rustanddust
parent483455ad98cde4b0ac931283b88dd8b62a59ae25 (diff)
downloadRustAndDust-f94a3040a9fe64cc5d818e2335939143acfa1649.zip
RustAndDust-f94a3040a9fe64cc5d818e2335939143acfa1649.tar.gz
OptionsMenu: apply new values before playing sound
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/menu/OptionsMenu.java2
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();