forked from noxious/client
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) {
|
setEraserMode(mode: string) {
|
||||||
this.eraserMode = mode
|
this.eraserMode = mode
|
||||||
},
|
},
|
||||||
setMapList(maps: Map[]) {
|
|
||||||
this.mapList = maps
|
|
||||||
},
|
|
||||||
setTileList(tiles: Tile[]) {
|
setTileList(tiles: Tile[]) {
|
||||||
this.tileList = tiles
|
this.tileList = tiles
|
||||||
},
|
},
|
||||||
@ -109,7 +106,6 @@ export const useMapEditorStore = defineStore('mapEditor', {
|
|||||||
},
|
},
|
||||||
reset() {
|
reset() {
|
||||||
this.mapId = ''
|
this.mapId = ''
|
||||||
this.mapList = []
|
|
||||||
this.tileList = []
|
this.tileList = []
|
||||||
this.mapObjectList = []
|
this.mapObjectList = []
|
||||||
this.tool = 'move'
|
this.tool = 'move'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user