Loading placed map objects works again
This commit is contained in:
@ -34,10 +34,7 @@ export const useGameStore = defineStore('game', {
|
||||
}
|
||||
},
|
||||
getters: {
|
||||
getLoadedAssets: (state) => {
|
||||
return state.game.loadedTextures
|
||||
},
|
||||
isAssetLoaded: (state) => {
|
||||
isTextureLoaded: (state) => {
|
||||
return (key: string) => {
|
||||
return state.game.loadedTextures.includes(key)
|
||||
}
|
||||
|
Reference in New Issue
Block a user