From a94d941125e17288f83a186844b6e4b01089fc87 Mon Sep 17 00:00:00 2001 From: Official Noob <31563761+OfficialNoob@users.noreply.github.com> Date: Tue, 31 Dec 2019 19:16:46 +0000 Subject: [PATCH] Added sync config --- utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils.js b/utils.js index edea86dc..986c4ee1 100644 --- a/utils.js +++ b/utils.js @@ -32,6 +32,9 @@ async function config() { SB.config = configProxy(); } +// Sync config +config(); + // Function that can be used to wait for a condition before returning async function wait(condition, timeout = 5000, check = 100) { return await new Promise((resolve, reject) => {