Change gameplay

This commit is contained in:
schmelczerandras 2020-10-24 22:24:27 +02:00
parent d79900e3ea
commit 34dae300da
56 changed files with 906 additions and 400 deletions

View file

@ -29,11 +29,7 @@ export abstract class OptionsHandler {
};
if (this._options.musicEnabled) {
const firstClickListener = () => {
document.removeEventListener('click', firstClickListener);
SoundHandler.playAmbient();
};
document.addEventListener('click', firstClickListener);
SoundHandler.playAmbient();
}
}