Fix crash by not specifying a default effect

This commit is contained in:
Lonami Exo 2017-07-19 19:53:54 +02:00
parent 29fedd74a5
commit 739077f612

View file

@ -74,7 +74,7 @@ public class Klooni extends Game {
Gdx.input.setCatchBackKey(true); // To show the pause menu
setScreen(new MainMenuScreen(this));
effect = new Effect(prefs.getString("effectName"));
effect = new Effect(prefs.getString("effectName", "vanish"));
}
//endregion