1
0
forked from noxious/client

npm run format

This commit is contained in:
2025-01-09 16:02:17 +01:00
parent 7b1dcf7ce3
commit fb18841c91
13 changed files with 39 additions and 70 deletions

View File

@ -38,8 +38,10 @@ export const useGameStore = defineStore('game', {
return state.game.loadedTextures
},
isAssetLoaded: (state) => {
return (key: string) => { return state.game.loadedTextures.includes(key)}
},
return (key: string) => {
return state.game.loadedTextures.includes(key)
}
}
},
actions: {
addNotification(notification: Notification) {

View File

@ -15,7 +15,7 @@ export const useMapStore = defineStore('map', {
},
getCharacterCount: (state) => {
return state.characters.length
},
}
},
actions: {
setMapId(mapId: UUID) {