if(game.timeProgress >= 3.0 && game.timeProgress <= 4.0) {
game.ui.root.querySelector('.ui-page.title .footer').style.opacity = easeInOut(Math.max(0.0, Math.min(1.0, game.timeProgress - 3.0))).toFixed(2);
}
- if(game.timeProgress > 4.0) {
+ if(game.timeProgress > 4.0 && !game.ui.reachedStart) {
+ game.ui.root.querySelector('.ui-page.title h1').removeAttribute('style');
+ game.ui.root.querySelectorAll('.ui-page.title button').forEach(btn => { btn.disabled = false; btn.removeAttribute('style'); });
+ game.ui.root.querySelector('.ui-page.title .footer').removeAttribute('style');
game.ui.reachedStart = true;
}
}