fix import bug
This commit is contained in:
parent
c08a14b072
commit
82adaca14c
2
game.js
2
game.js
@ -76,7 +76,7 @@ function updateLayout() {
|
||||
document.getElementById("col2").style.backgroundColor = "";
|
||||
}
|
||||
|
||||
export function delay(time) {
|
||||
function delay(time) {
|
||||
return new Promise(resolve => setTimeout(resolve, time));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user