Fix ambient not playing

This commit is contained in:
schmelczerandras 2020-10-28 13:55:56 +01:00
parent d746854307
commit db2c4579b6
4 changed files with 28 additions and 16 deletions

View file

@ -25,10 +25,10 @@ export abstract class OptionsHandler {
...this._options,
...stored,
};
}
if (this._options.musicEnabled) {
SoundHandler.playAmbient();
}
if (this._options.musicEnabled) {
SoundHandler.playAmbient();
}
for (const k in inputElements) {