Removed mapList from Pinia store, we fetch them from mapStorage
This commit is contained in:
parent
9744083dea
commit
7a922261e3
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user