game.ui.moveToPage('endingcutscene', true);
}
- if(game.settings.audio.music > 0.0 && game.view.music && !game.view.music.isPlaying) {
+ if(game.settings['audio']['music'] > 0.0 && game.view.music && !game.view.music.isPlaying) {
const remainingRealTime = (game.timeTotal - game.timeProgress) / (game.settings['difficulty']['speed'] / 100);
if(remainingRealTime >= game.assets.audio.music.duration - 2) {
game.view.music.offset = 0;
label.appendChild(img);
ui.querySelector('.feather').appendChild(label);
}
+ if(!ui.querySelector('.feather input[value="' + settings['feather'] + '"]')) {
+ settings['feather'] = 'blue';
+ }
ui.querySelector('.feather input[value=' + settings['feather'] + ']').checked = true;
ui.querySelector('input[value="highcontrast"]').checked = !!settings['highcontrast'];
ui.querySelector('.font input[value=' + settings['font'] + ']').checked = true;