mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Revert, breaks current user instance timer
This commit is contained in:
@@ -7472,7 +7472,10 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
if (this.isGameRunning &&
|
||||
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;
|
||||
if (playersInInstance.includes(ref.displayName)) {
|
||||
users.push(ref);
|
||||
@@ -8027,7 +8030,10 @@ speechSynthesis.getVoices();
|
||||
};
|
||||
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;
|
||||
if (playersInInstance.includes(ref.displayName)) {
|
||||
instance.users.push(ref);
|
||||
|
||||
Reference in New Issue
Block a user