forked from noxious/client
Moved music to character selection screen, disable loader
This commit is contained in:
parent
e2c60bfd5a
commit
7e4e613405
@ -114,6 +114,9 @@ gameStore.connection?.on('character:list', (data: any) => {
|
||||
})
|
||||
|
||||
onMounted(async () => {
|
||||
const audio = new Audio('/assets/music/login.mp3')
|
||||
await audio.play()
|
||||
|
||||
// wait 0.75 sec
|
||||
setTimeout(() => {
|
||||
gameStore.connection?.emit('character:list')
|
||||
|
@ -1,5 +1,4 @@
|
||||
<template>
|
||||
<Loading v-if="!gameStore.game.isLoaded" />
|
||||
<!-- @TODO this must be shown over the login screen -->
|
||||
<div class="relative max-lg:h-dvh flex flex-row-reverse">
|
||||
<ResetPassword />
|
||||
|
Loading…
x
Reference in New Issue
Block a user