diff --git a/src/views/Lobby.vue b/src/views/Lobby.vue index fa7ef61..23e92ed 100644 --- a/src/views/Lobby.vue +++ b/src/views/Lobby.vue @@ -38,6 +38,11 @@ export default { }, }, sockets: { + PlayerListResponse(data) { + if (data.success) {} else { + this.$emit(`alert`) + } + }, PlayerJoin() {}, }, }