Skip to content

Commit

Permalink
hostswitch
Browse files Browse the repository at this point in the history
  • Loading branch information
neferin12 committed Feb 15, 2021
1 parent 74b3885 commit 1edffc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/Game.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export default {
this.question = null;
this.results = res;
});
this.socket.on("newHost", () => this.amIHost = true);
},
watch: {
gameData: {
Expand Down

0 comments on commit 1edffc5

Please sign in to comment.