Skip to content
Snippets Groups Projects
Commit 01824708 authored by Turid Cecilie Dahl's avatar Turid Cecilie Dahl
Browse files

#32 fixed soundEffect toggle bug

parent 26f43b76
Branches
No related tags found
1 merge request!66Resolve "Make it look pretty"
......@@ -139,7 +139,9 @@ public class OptionsState extends State {
@Override
public void clicked(InputEvent e, float x, float y){ GameWare.getInstance().toggleSoundEffects(); }
});
if((GameWare.getInstance().getSoundEffects() && !soundEffectToggle.isChecked()) || (!GameWare.getInstance().getSoundEffects() && soundEffectToggle.isChecked())){
soundEffectToggle.toggle();
}
return soundEffectToggle;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment