Fix various issues switching between servers containing worlds of the same name

This commit is contained in:
James Lyne 2021-05-20 01:45:40 +01:00
parent e5c5d03c72
commit f419915808

View File

@ -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();