From 08e1e8c9800056804f1b729442b83fffd1ac0416 Mon Sep 17 00:00:00 2001 From: Chris Blanchard Date: Thu, 5 Nov 2015 17:40:52 +0000 Subject: [PATCH] Fix sound storage bug --- lib/react/sound.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/react/sound.jsx b/lib/react/sound.jsx index 036783c..1e2f994 100644 --- a/lib/react/sound.jsx +++ b/lib/react/sound.jsx @@ -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 = {