mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 06:13:52 +02:00
Lint
This commit is contained in:
@@ -2077,7 +2077,10 @@ speechSynthesis.getVoices();
|
||||
const presence = this.currentUser.presence;
|
||||
let presenceLocation = this.currentUser.$locationTag;
|
||||
if (presenceLocation === 'traveling') {
|
||||
console.log("User is traveling, using $travelingToLocation", this.currentUser.$travelingToLocation);
|
||||
console.log(
|
||||
'User is traveling, using $travelingToLocation',
|
||||
this.currentUser.$travelingToLocation
|
||||
);
|
||||
presenceLocation = this.currentUser.$travelingToLocation;
|
||||
}
|
||||
console.log('presence Location', presenceLocation);
|
||||
@@ -2092,7 +2095,7 @@ speechSynthesis.getVoices();
|
||||
return presence.world;
|
||||
}
|
||||
let args = await this.getUser({ userId: this.currentUser.id });
|
||||
let user = args.json
|
||||
let user = args.json;
|
||||
|
||||
console.log('presence bad, got user', user);
|
||||
if (!$app.isRealInstance(user.location)) {
|
||||
@@ -2102,7 +2105,10 @@ speechSynthesis.getVoices();
|
||||
);
|
||||
return gameLogLocation;
|
||||
}
|
||||
console.warn('presence outdated, got user api location instead: ', user.location);
|
||||
console.warn(
|
||||
'presence outdated, got user api location instead: ',
|
||||
user.location
|
||||
);
|
||||
return this.parseLocation(user.location).worldId;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user