From 1edffc591211193bde16f428a34cef674b1a6d44 Mon Sep 17 00:00:00 2001 From: Julian Pollinger Date: Mon, 15 Feb 2021 22:53:17 +0100 Subject: [PATCH] hostswitch --- src/views/Game.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/Game.vue b/src/views/Game.vue index 51a45e4..b3e19bc 100644 --- a/src/views/Game.vue +++ b/src/views/Game.vue @@ -129,6 +129,7 @@ export default { this.question = null; this.results = res; }); + this.socket.on("newHost", () => this.amIHost = true); }, watch: { gameData: {