bugfix, flush() hat gefehlt damit der sound auch gespeichert wird

This commit is contained in:
Armin Benz 2017-04-15 21:09:48 +02:00
parent db4c1feb4e
commit a24ec22dc5
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -84,6 +84,7 @@ public class OptionMenuScreen implements Screen{
music.play();
}
prefs.flush();
((Game)Gdx.app.getApplicationListener()).setScreen(new OptionMenuScreen(music));
}
});