bugfix, flush() hat gefehlt damit der sound auch gespeichert wird
This commit is contained in:
parent
db4c1feb4e
commit
a24ec22dc5
|
@ -28,7 +28,7 @@ public class CRGameWorld implements GameInputListener {
|
||||||
public MapProvider mapprovider;
|
public MapProvider mapprovider;
|
||||||
private Music music;
|
private Music music;
|
||||||
public int scoreMeter = 0;
|
public int scoreMeter = 0;
|
||||||
|
|
||||||
public CRGameWorld(MapProvider prov) {
|
public CRGameWorld(MapProvider prov) {
|
||||||
mapprovider = prov;
|
mapprovider = prov;
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,7 @@ public class OptionMenuScreen implements Screen{
|
||||||
music.play();
|
music.play();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
prefs.flush();
|
||||||
((Game)Gdx.app.getApplicationListener()).setScreen(new OptionMenuScreen(music));
|
((Game)Gdx.app.getApplicationListener()).setScreen(new OptionMenuScreen(music));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue