forked from noxious/client
npm run format
This commit is contained in:
@ -32,11 +32,7 @@ export const useMapStore = defineStore('map', {
|
||||
if (index !== -1) this.characters[index] = updatedCharacter
|
||||
},
|
||||
// Property is mapCharacter key
|
||||
updateCharacterProperty<K extends keyof MapCharacter>(
|
||||
characterId: UUID,
|
||||
property: K,
|
||||
value: MapCharacter[K]
|
||||
) {
|
||||
updateCharacterProperty<K extends keyof MapCharacter>(characterId: UUID, property: K, value: MapCharacter[K]) {
|
||||
const character = this.characters.find((char) => char.character.id === characterId)
|
||||
if (character) {
|
||||
character[property] = value
|
||||
|
Reference in New Issue
Block a user