1
0
forked from noxious/client

#210 : Play music on login screen

This commit is contained in:
2024-11-02 14:05:37 +01:00
parent e38c402266
commit e2c60bfd5a
3 changed files with 14 additions and 12 deletions

View File

@ -11,7 +11,6 @@ import { useZoneEditorStore } from '@/stores/zoneEditorStore'
import Notifications from '@/components/utilities/Notifications.vue'
import GmTools from '@/components/gameMaster/GmTools.vue'
import GmPanel from '@/components/gameMaster/GmPanel.vue'
import Loading from '@/screens/Loading.vue'
import Login from '@/screens/Login.vue'
import Characters from '@/screens/Characters.vue'
import Game from '@/screens/Game.vue'
@ -22,7 +21,6 @@ const gameStore = useGameStore()
const zoneEditorStore = useZoneEditorStore()
const currentScreen = computed(() => {
// if (!gameStore.game.isLoaded) return Loading
if (!gameStore.connection) return Login
if (!gameStore.token) return Login
if (!gameStore.character) return Characters