Map loading fix

This commit is contained in:
2024-07-12 13:32:05 +02:00
parent 96ea83090c
commit 950a9529c0
3 changed files with 6 additions and 14 deletions

View File

@ -9,7 +9,7 @@
<Hud />
</div>
<div v-if="isLoaded">
<World :key="gameStore.character?.zoneId ?? 1" />
<World :key="gameStore.character?.zoneId" />
</div>
<div class="flex absolute justify-between left-0 right-0 bottom-[100px] h-[100px] mx-[48px] my-0" v-if="isLoaded">
<Chat />
@ -44,7 +44,6 @@ import ZoneEditor from '@/components/utilities/zoneEditor/ZoneEditor.vue'
import GmPanel from '@/components/utilities/GmPanel.vue'
const gameStore = useGameStore()
const zoneStore = useZoneStore()
const zoneEditorStore = useZoneEditorStore()
const assetStore = useAssetStore()
const isLoaded = ref(false)