Fix sound storage bug

This commit is contained in:
Chris Blanchard 2015-11-05 17:40:52 +00:00
parent 968979dff1
commit 08e1e8c980

View file

@ -16,7 +16,7 @@ class SoundController {
if (storageAvailable("localStorage")) {
let volume = localStorage.getItem("gatherVolume");
if (volume !== undefined) Howler.volume(volume);
localStorage.setItem("gatherMusic", gatherMusic);
gatherMusic = localStorage.getItem("gatherMusic");
}
this.tunes = {