From 5156193a605a26ce851cb422df33abb2c7ac8575 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 24 Apr 2022 14:37:26 -0500 Subject: [PATCH] Fixed save manager loading old version of save previously opened --- src/components/SavesManager.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/SavesManager.vue b/src/components/SavesManager.vue index 6d5ef8f..7c3eaa8 100644 --- a/src/components/SavesManager.vue +++ b/src/components/SavesManager.vue @@ -237,6 +237,7 @@ function openSave(id: string) { // eslint-disable-next-line @typescript-eslint/no-non-null-assertion saves.value[player.id]!.time = player.time; save(); + cachedSaves[player.id] = undefined; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion loadSave(saves.value[id]!); // Delete cached version in case of opening it again