Worked on zone manager
This commit is contained in:
@ -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'
|
||||
}
|
||||
|
Reference in New Issue
Block a user