From 607575bad58a49c6543156cd0517e33382f3b9fa Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Fri, 2 Oct 2020 10:16:49 -0600 Subject: [PATCH] Just use the GetPlayerList event for all players instead of only the host --- src/views/Lobby.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/views/Lobby.vue b/src/views/Lobby.vue index 3b76973..d566cdd 100644 --- a/src/views/Lobby.vue +++ b/src/views/Lobby.vue @@ -24,11 +24,7 @@ export default { mounted() { this.game_code = sessionStorage.getItem(`game-code`); this.is_host = JSON.parse(sessionStorage.getItem(`is-host`)); - - // Get the player data if the host loaded the component - if (this.is_host) { - this.$nextTick(() => this.getPlayerList()); - }; + this.$nextTick(() => this.getPlayerList()); }, methods: { getPlayerList() {