boton de salir cierra la sala
This commit is contained in:
@@ -95,6 +95,11 @@ const previewPlayer = computed(() => ({
|
||||
color: colorInput.value || playerColor.value
|
||||
}));
|
||||
|
||||
// Define missing reactive variables
|
||||
const availableRooms = ref<any[]>([]);
|
||||
const totalPlayers = ref(0);
|
||||
const onlinePlayers = ref<any[]>([]);
|
||||
|
||||
onMounted(async () => {
|
||||
try {
|
||||
const room = await colyseusService.joinLobby();
|
||||
|
||||
Reference in New Issue
Block a user