diff --git a/src/views/Lobby.vue b/src/views/Lobby.vue index e84373d..9968071 100644 --- a/src/views/Lobby.vue +++ b/src/views/Lobby.vue @@ -44,7 +44,9 @@ export default { }); }; }, - PlayerJoin() {}, + NewPlayer(data) { + this.players.push(data.player); + }, }, }