Removed mapList from Pinia store, we fetch them from mapStorage

This commit is contained in:
Dennis Postma 2025-01-23 20:04:47 +01:00
parent 9744083dea
commit 7a922261e3

View File

@ -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'