Worked on zone manager

This commit is contained in:
2024-06-11 01:10:22 +02:00
parent 399e994bbe
commit 8e174a063a
29 changed files with 658 additions and 379 deletions

View File

@ -18,7 +18,8 @@ import Game from '@/components/Game.vue'
const screen: Ref<string> = ref('login')
const socket = useSocketStore()
socket.$subscribe((mutation, state) => {
socket.$subscribe(
(mutation, state) => {
if (!state.connection) {
screen.value = 'login'
}