mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Fix Discord RPC 1
This commit is contained in:
+2
-2
@@ -4268,13 +4268,13 @@ speechSynthesis.getVoices();
|
|||||||
);
|
);
|
||||||
API.currentUser.$online_for = '';
|
API.currentUser.$online_for = '';
|
||||||
API.currentUser.$offline_for = Date.now();
|
API.currentUser.$offline_for = Date.now();
|
||||||
this.setDiscordActive(isGameRunning);
|
|
||||||
this.autoVRChatCacheManagement();
|
this.autoVRChatCacheManagement();
|
||||||
this.ipcTimeout = 0;
|
this.ipcTimeout = 0;
|
||||||
}
|
}
|
||||||
this.lastLocationReset();
|
this.lastLocationReset();
|
||||||
this.clearNowPlaying();
|
this.clearNowPlaying();
|
||||||
this.updateVRLastLocation();
|
this.updateVRLastLocation();
|
||||||
|
this.setDiscordActive(isGameRunning);
|
||||||
}
|
}
|
||||||
if (isSteamVRRunning !== this.isSteamVRRunning) {
|
if (isSteamVRRunning !== this.isSteamVRRunning) {
|
||||||
this.isSteamVRRunning = isSteamVRRunning;
|
this.isSteamVRRunning = isSteamVRRunning;
|
||||||
@@ -13240,7 +13240,7 @@ speechSynthesis.getVoices();
|
|||||||
if (!D.visible) {
|
if (!D.visible) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var L = API.parseLocation(D.ref.$location.tag);
|
var L = API.parseLocation(D.$location.tag);
|
||||||
if (L.tag !== this.lastLocation.location && updateInstanceOccupants) {
|
if (L.tag !== this.lastLocation.location && updateInstanceOccupants) {
|
||||||
this.userDialog.instance.occupants = 0;
|
this.userDialog.instance.occupants = 0;
|
||||||
if (this.isRealInstance(L.tag)) {
|
if (this.isRealInstance(L.tag)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user