async garbage

This commit is contained in:
b 2021-06-19 00:48:43 -07:00
parent 51331aa394
commit e9c9ee2359

View file

@ -148,13 +148,14 @@ function load_init(init_func) {
while (!load_complete) { while (!load_complete) {
await sleep(100); await sleep(100);
} }
console.log("Skipping load...")
init_func(); init_func();
} }
else { else {
// Not 100% safe... whatever! // Not 100% safe... whatever!
load_in_progress = true load_in_progress = true
load(init_func);
console.log("Using new data...") console.log("Using new data...")
load(init_func);
} }
} }
} }