Set the host key when we are not hosting the game
This commit is contained in:
parent
f068a172f6
commit
a81e0ffb33
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
join_game() {
|
join_game() {
|
||||||
|
sessionStorage.setItem(`is-host`, false)
|
||||||
this.$emit(`go-to`, `game-code`)
|
this.$emit(`go-to`, `game-code`)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue