mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Revert, breaks current user instance timer
This commit is contained in:
+8
-2
@@ -7472,7 +7472,10 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
if (this.isGameRunning &&
|
if (this.isGameRunning &&
|
||||||
this.lastLocation.location === L.tag) {
|
this.lastLocation.location === L.tag) {
|
||||||
var ref = API.currentUser;
|
var ref = API.cachedUsers.get(API.currentUser.id);
|
||||||
|
if (typeof ref === 'undefined') {
|
||||||
|
ref = API.currentUser;
|
||||||
|
}
|
||||||
var playersInInstance = this.lastLocation.playerList;
|
var playersInInstance = this.lastLocation.playerList;
|
||||||
if (playersInInstance.includes(ref.displayName)) {
|
if (playersInInstance.includes(ref.displayName)) {
|
||||||
users.push(ref);
|
users.push(ref);
|
||||||
@@ -8027,7 +8030,10 @@ speechSynthesis.getVoices();
|
|||||||
};
|
};
|
||||||
instances[instance.id] = instance;
|
instances[instance.id] = instance;
|
||||||
}
|
}
|
||||||
var ref = API.currentUser;
|
var ref = API.cachedUsers.get(API.currentUser.id);
|
||||||
|
if (typeof ref === 'undefined') {
|
||||||
|
ref = API.currentUser;
|
||||||
|
}
|
||||||
var playersInInstance = this.lastLocation.playerList;
|
var playersInInstance = this.lastLocation.playerList;
|
||||||
if (playersInInstance.includes(ref.displayName)) {
|
if (playersInInstance.includes(ref.displayName)) {
|
||||||
instance.users.push(ref);
|
instance.users.push(ref);
|
||||||
|
|||||||
Reference in New Issue
Block a user