diff --git a/src/components/sidebar/WorldListItem.vue b/src/components/sidebar/WorldListItem.vue index 0e932a7..978cef3 100644 --- a/src/components/sidebar/WorldListItem.vue +++ b/src/components/sidebar/WorldListItem.vue @@ -66,7 +66,7 @@ export default defineComponent({ currentMap: { get() { const store = useStore(); - return store.state.currentMap ? [store.state.currentWorld.name, store.state.currentMap.name] : undefined; + return store.state.currentMap ? [store.state.currentWorld!.name, store.state.currentMap.name] : undefined; }, set(value: string[]) { useStore().commit(MutationTypes.SET_CURRENT_MAP, {worldName: value[0], mapName: value[1]});