Fix crash by not specifying a default effect
This commit is contained in:
parent
29fedd74a5
commit
739077f612
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue