doublespeakgames / adarkroom

A Dark Room - A Minimalist Text Adventure
Mozilla Public License 2.0
7.31k stars 1.62k forks source link

Audio won't after changing language #694

Open PaulCombal opened 2 years ago

PaulCombal commented 2 years ago

I have "force-enabled" audio in Chrome for the site, so that a user gesture isn't required for the audio to start. Audio worked fine the first time I started the game, but after changing the language, it stopped working with no way to have it work again. I get a lot of these errors: image

Is it a known issue, and can this be fixed?

Thank you

EDIT: I figured it out, the "?lang=xx" in the url messes the path at which the audio must be loaded. This must be an easy fix.