mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-01-19 08:01:07 +00:00
Fix sound storage bug
This commit is contained in:
parent
968979dff1
commit
08e1e8c980
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue