Load map data inside a composable instead of Pinia store
This commit is contained in:
@ -15,10 +15,10 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" async>
|
||||
import { downloadCache } from '@/application/utilities'
|
||||
import { CharacterHairStorage, CharacterTypeStorage, MapObjectStorage, MapStorage, SpriteStorage, TileStorage } from '@/storage/storages'
|
||||
import { useGameStore } from '@/stores/gameStore'
|
||||
import { ref } from 'vue'
|
||||
import { downloadCache } from '@/application/utilities'
|
||||
|
||||
const gameStore = useGameStore()
|
||||
|
||||
|
Reference in New Issue
Block a user