diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 0441e6f..4aada68 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -7,7 +7,9 @@ v-if="session.sessionId" @click="leaveSession" :title=" - `${session.playerCount} other players in this session (${session.ping}ms latency)` + `${session.playerCount} other players in this session${ + session.ping ? ' (' + session.ping + 'ms latency)' : '' + }` " >