mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Lint
This commit is contained in:
+9
-3
@@ -2077,7 +2077,10 @@ speechSynthesis.getVoices();
|
|||||||
const presence = this.currentUser.presence;
|
const presence = this.currentUser.presence;
|
||||||
let presenceLocation = this.currentUser.$locationTag;
|
let presenceLocation = this.currentUser.$locationTag;
|
||||||
if (presenceLocation === 'traveling') {
|
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;
|
presenceLocation = this.currentUser.$travelingToLocation;
|
||||||
}
|
}
|
||||||
console.log('presence Location', presenceLocation);
|
console.log('presence Location', presenceLocation);
|
||||||
@@ -2092,7 +2095,7 @@ speechSynthesis.getVoices();
|
|||||||
return presence.world;
|
return presence.world;
|
||||||
}
|
}
|
||||||
let args = await this.getUser({ userId: this.currentUser.id });
|
let args = await this.getUser({ userId: this.currentUser.id });
|
||||||
let user = args.json
|
let user = args.json;
|
||||||
|
|
||||||
console.log('presence bad, got user', user);
|
console.log('presence bad, got user', user);
|
||||||
if (!$app.isRealInstance(user.location)) {
|
if (!$app.isRealInstance(user.location)) {
|
||||||
@@ -2102,7 +2105,10 @@ speechSynthesis.getVoices();
|
|||||||
);
|
);
|
||||||
return gameLogLocation;
|
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;
|
return this.parseLocation(user.location).worldId;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user