From f4199158089fd5316b8abcce2c70bc4ed2030ee8 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Thu, 20 May 2021 01:45:40 +0100 Subject: [PATCH] Fix various issues switching between servers containing worlds of the same name --- src/App.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.vue b/src/App.vue index 6414a8a..c2110b4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -133,6 +133,7 @@ export default defineComponent({ store.commit(MutationTypes.CLEAR_PLAYERS, undefined); store.commit(MutationTypes.CLEAR_CURRENT_MAP, undefined); store.commit(MutationTypes.CLEAR_PARSED_URL, undefined); + store.commit(MutationTypes.SET_WORLDS, []); window.history.replaceState({}, '', newServer); loadConfiguration();