forked from noxious/client
npm run format
This commit is contained in:
@ -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) {
|
||||
|
@ -15,7 +15,7 @@ export const useMapStore = defineStore('map', {
|
||||
},
|
||||
getCharacterCount: (state) => {
|
||||
return state.characters.length
|
||||
},
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
setMapId(mapId: UUID) {
|
||||
|
Reference in New Issue
Block a user