Update single-html/loader-and-starter.js
parent
c37024c311
commit
b11cdc1359
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue