diff --git a/html/src/app.js b/html/src/app.js index f9a4eb4d..cdc5db3d 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -9092,6 +9092,7 @@ speechSynthesis.getVoices(); var ref = this.photonLobbyUserData.get(photonId); if ( typeof ref !== 'undefined' && + photonId !== this.photonLobbyCurrentUser && (photonUser.status !== ref.status || photonUser.statusDescription !== ref.statusDescription) ) { diff --git a/html/src/vr.js b/html/src/vr.js index 8d6f0138..743096b6 100644 --- a/html/src/vr.js +++ b/html/src/vr.js @@ -351,7 +351,7 @@ Vue.component('marquee-text', MarqueeText); } else { this.lastLocationTimer = ''; } - if (this.lastLocation.onlineForTimer) { + if (this.lastLocation.onlineFor) { this.onlineForTimer = timeToText( Date.now() - this.lastLocation.onlineFor ); diff --git a/html/src/vr.pug b/html/src/vr.pug index 3b4f4666..23a32388 100644 --- a/html/src/vr.pug +++ b/html/src/vr.pug @@ -404,7 +404,9 @@ html template(v-else-if="downloadProgress > 0") span(style="display:inline-block;margin-right:5px") {{ downloadProgress }}% template(v-if="lastLocation.date !== 0") - span(style="float:right") {{ lastLocationTimer }} / {{ onlineForTimer }} + span(style="float:right") {{ lastLocationTimer }} + template(v-if="onlineForTimer") + | / {{ onlineForTimer }} span(style="display:inline-block") {{ lastLocation.playerList.length }} span(style="display:inline-block;font-weight:bold") {{ lastLocation.friendList.length !== 0 ? `‎‎‎‎‎‎‎‎‏‏‎ ‎(${lastLocation.friendList.length})` : ''}} span(v-if="photonLobbyBotSize > 0 && lastLocation.playerList.length > 0" style="display:inline-block;color:red;margin-left:5px") {{ photonLobbyBotSize }} @@ -414,7 +416,9 @@ html template(v-else-if="downloadProgress > 0") span(style="display:inline-block;margin-right:5px") Downloading: {{ downloadProgress }}% template(v-if="lastLocation.date !== 0") - span(style="float:right") Timer: {{ lastLocationTimer }} / {{ onlineForTimer }} + span(style="float:right") Timer: {{ lastLocationTimer }} + template(v-if="onlineForTimer") + | / {{ onlineForTimer }} span(style="display:inline-block") Players: {{ lastLocation.playerList.length }} span(style="display:inline-block;font-weight:bold") {{ lastLocation.friendList.length !== 0 ? `‎‎‎‎‎‎‎‎‏‏‎ ‎(${lastLocation.friendList.length})` : ''}} span(v-if="photonLobbyBotSize > 0 && lastLocation.playerList.length > 0" style="display:inline-block;color:red;margin-left:5px") {{ photonLobbyBotSize }}