diff --git a/core/src/de/samdev/colorrunner/game/world/CRGameWorld.java b/core/src/de/samdev/colorrunner/game/world/CRGameWorld.java index 811fdf2..0ff9621 100644 --- a/core/src/de/samdev/colorrunner/game/world/CRGameWorld.java +++ b/core/src/de/samdev/colorrunner/game/world/CRGameWorld.java @@ -28,7 +28,7 @@ public class CRGameWorld implements GameInputListener { public MapProvider mapprovider; private Music music; public int scoreMeter = 0; - + public CRGameWorld(MapProvider prov) { mapprovider = prov; diff --git a/core/src/de/samdev/colorrunner/screens/menu/OptionMenuScreen.java b/core/src/de/samdev/colorrunner/screens/menu/OptionMenuScreen.java index b24b80d..78d6ad6 100644 --- a/core/src/de/samdev/colorrunner/screens/menu/OptionMenuScreen.java +++ b/core/src/de/samdev/colorrunner/screens/menu/OptionMenuScreen.java @@ -84,6 +84,7 @@ public class OptionMenuScreen implements Screen{ music.play(); } + prefs.flush(); ((Game)Gdx.app.getApplicationListener()).setScreen(new OptionMenuScreen(music)); } });