From 7a922261e31853200132ae2508a6d5bca0e30f6b Mon Sep 17 00:00:00 2001 From: Dennis Postma Date: Thu, 23 Jan 2025 20:04:47 +0100 Subject: [PATCH] Removed mapList from Pinia store, we fetch them from mapStorage --- src/stores/mapEditorStore.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/stores/mapEditorStore.ts b/src/stores/mapEditorStore.ts index 49215d5..fd25d5a 100644 --- a/src/stores/mapEditorStore.ts +++ b/src/stores/mapEditorStore.ts @@ -73,9 +73,6 @@ export const useMapEditorStore = defineStore('mapEditor', { setEraserMode(mode: string) { this.eraserMode = mode }, - setMapList(maps: Map[]) { - this.mapList = maps - }, setTileList(tiles: Tile[]) { this.tileList = tiles }, @@ -109,7 +106,6 @@ export const useMapEditorStore = defineStore('mapEditor', { }, reset() { this.mapId = '' - this.mapList = [] this.tileList = [] this.mapObjectList = [] this.tool = 'move'