From 7e0313461ae6a1bcbc248c090d2d451beac4060b Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 20 Mar 2024 21:11:59 +0200 Subject: [PATCH] Load secret state before settings --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 62416e2ee..12e26f5d0 100644 --- a/public/script.js +++ b/public/script.js @@ -843,11 +843,11 @@ async function firstLoadInit() { } await getClientVersion(); + await readSecretState(); await getSettings(); getSystemMessages(); sendSystemMessage(system_message_types.WELCOME); initLocales(); - await readSecretState(); await getUserAvatars(true, user_avatar); await getCharacters(); await getBackgrounds();