'audio': {
'music': 0.5,
'sounds': 0.5,
- 'theme': 'classical',
+ 'theme': null, // actual default value determined after asset loading
},
'feather': 'blue',
'unlocks': [],
targetElem.style.display = 'flex';
setTimeout((targetElem) => {
targetElem.style.opacity = '1';
+ if(target == 'credits') {
+ targetElem.querySelector('.area').scrollTop = 0;
+ }
}, fadeDuration, targetElem);
}
if(target != 'pause' && game.ui.currentPage != 'pause') {