This commit is contained in:
Natsumi
2022-02-25 07:02:07 +13:00
parent 1c115b0b13
commit b4ff814353
3 changed files with 8 additions and 3 deletions

View File

@@ -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)
) {

View File

@@ -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
);

View File

@@ -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 }}