npm updated, fixed saving PvP settings for zones

This commit is contained in:
2024-07-22 23:28:20 +02:00
parent 1bdc83fab1
commit 9e897728db
5 changed files with 128 additions and 118 deletions

View File

@ -42,6 +42,11 @@ export const useZoneEditorStore = defineStore('zoneEditor', {
this.zone.height = height
}
},
setZonePvp(pvp: boolean) {
if (this.zone) {
this.zone.pvp = pvp
}
},
setTool(tool: string) {
this.tool = tool
},