diff --git a/client/src/lib/Apps/Settings/Settings.svelte b/client/src/lib/Apps/Settings/Settings.svelte index 733d52d..74e4956 100644 --- a/client/src/lib/Apps/Settings/Settings.svelte +++ b/client/src/lib/Apps/Settings/Settings.svelte @@ -40,7 +40,7 @@ RNG Weight diff --git a/client/src/lib/Apps/Settings/SettingsInput.svelte b/client/src/lib/Apps/Settings/SettingsInput.svelte index f154d34..74ed9b5 100644 --- a/client/src/lib/Apps/Settings/SettingsInput.svelte +++ b/client/src/lib/Apps/Settings/SettingsInput.svelte @@ -28,6 +28,11 @@ // @ts-expect-error value = get(settingsStore)[setting] }) + + settingsStore.subscribe(data => { + // @ts-expect-error + value = data[setting] + }) @@ -39,10 +44,10 @@ class="text-slate-800 rounded-lg p-0.5 text-center" />