We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f308477 commit e0ba39aCopy full SHA for e0ba39a
packages/web/pages/lobbies.vue
@@ -71,8 +71,9 @@ export default class LobbiesPage extends Vue {
71
}
72
73
async fetchGames() {
74
+ const partyRooms = await this.$colyseus.getAvailableRooms('party')
75
const rooms = await this.$colyseus.getAvailableRooms('countries')
- for (const room of rooms) {
76
+ for (const room of [...rooms, ...partyRooms]) {
77
const previousGame = this.games.findIndex(
78
(game) => game.roomId === room.roomId
79
)
0 commit comments