Update single-html/loader-and-starter.js

yityu-patch-1
yityu 2024-12-10 17:28:28 +08:00
parent c37024c311
commit b11cdc1359
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
window.startGame = function() { window.startGame = function() {
window.boot() var startInterval = setInterval(() => {
if (window.registerLoad) {
window.boot();
clearInterval(startInterval);
}
}, 16)
} }
window.pauseGame = function() { window.pauseGame = function() {