diff --git a/src/views/Lobby.vue b/src/views/Lobby.vue index 9968071..0556577 100644 --- a/src/views/Lobby.vue +++ b/src/views/Lobby.vue @@ -3,6 +3,16 @@

Secret Hitler Online

+

+ Game Code: + + {{ game_code }} + +

Players:

this.$emit(`alert`, { message: ``, classes: [] }), 2000) + }, + copy_error() { + this.$emit(`alert`, { + message: `Something went wrong when copying the game code to your clipboard`, + classes: [`warning`] + }); + setTimeout(() => this.$emit(`alert`, { message: ``, classes: [] }), 2000) + } }, sockets: { PlayerListResponse(data) {