From cdb1ea35f6e219cc45c837bf014a980c9271e650 Mon Sep 17 00:00:00 2001 From: Erik Rogers Date: Tue, 27 Jun 2023 00:56:56 -0400 Subject: [PATCH] fix: clear local storage on logout --- SleepHunter/Views/MainWindow.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SleepHunter/Views/MainWindow.xaml.cs b/SleepHunter/Views/MainWindow.xaml.cs index 31591ba..e0729c6 100644 --- a/SleepHunter/Views/MainWindow.xaml.cs +++ b/SleepHunter/Views/MainWindow.xaml.cs @@ -447,6 +447,7 @@ private void OnPlayerLoggedOut(Player player) state.ClearSpellQueue(); state.ClearFlowerQueue(); + state.LocalStorage.Clear(); } UpdateUIForSelectedClient(player.Name);