diff --git a/load.js b/load.js index 8430461..070fd0d 100644 --- a/load.js +++ b/load.js @@ -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(); diff --git a/load3.js b/load3.js index 33e4790..4c839c5 100644 --- a/load3.js +++ b/load3.js @@ -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();