bruhmoment
This commit is contained in:
@ -68,8 +68,8 @@ export const useGameStore = defineStore('game', {
|
||||
return false
|
||||
})
|
||||
},
|
||||
async fetchAllAssets() {
|
||||
return fetch(config.server_endpoint + '/assets')
|
||||
async fetchAllZoneAssets() {
|
||||
return fetch(config.server_endpoint + '/assets/zone')
|
||||
.then((response) => response.json())
|
||||
.then((assets) => {
|
||||
// Only add the zones that are not already in the store
|
||||
|
Reference in New Issue
Block a user