async await

This commit is contained in:
b 2021-06-19 00:18:40 -07:00
parent 64623df624
commit 451b0af017
2 changed files with 2 additions and 2 deletions

View file

@ -125,7 +125,7 @@ async function load(init_func) {
// DB not closed? idfk man
}
function load_init(init_func) {
async function load_init(init_func) {
if (load_complete) {
console.log("Item db already loaded, skipping load sequence");
init_func();

View file

@ -125,7 +125,7 @@ async function load(init_func) {
// DB not closed? idfk man
}
function load_init(init_func) {
async function load_init(init_func) {
if (load_complete) {
console.log("Item db already loaded, skipping load sequence");
init_func();