mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Fix switch to same avatar event
This commit is contained in:
+13
-2
@@ -10298,11 +10298,22 @@ speechSynthesis.getVoices();
|
|||||||
ref.$travelingToTime = Date.now();
|
ref.$travelingToTime = Date.now();
|
||||||
$app.updateFriendGPS(ref.id);
|
$app.updateFriendGPS(ref.id);
|
||||||
}
|
}
|
||||||
|
var imageMatches = false;
|
||||||
if (
|
if (
|
||||||
((props.currentAvatarImageUrl ||
|
props.currentAvatarThumbnailImageUrl &&
|
||||||
|
props.currentAvatarThumbnailImageUrl[0] &&
|
||||||
|
props.currentAvatarThumbnailImageUrl[1] &&
|
||||||
|
props.currentAvatarThumbnailImageUrl[0] ===
|
||||||
|
props.currentAvatarThumbnailImageUrl[1]
|
||||||
|
) {
|
||||||
|
imageMatches = true;
|
||||||
|
}
|
||||||
|
if (
|
||||||
|
(((props.currentAvatarImageUrl ||
|
||||||
props.currentAvatarThumbnailImageUrl) &&
|
props.currentAvatarThumbnailImageUrl) &&
|
||||||
!ref.profilePicOverride) ||
|
!ref.profilePicOverride) ||
|
||||||
props.currentAvatarTags
|
props.currentAvatarTags) &&
|
||||||
|
!imageMatches
|
||||||
) {
|
) {
|
||||||
var currentAvatarImageUrl = '';
|
var currentAvatarImageUrl = '';
|
||||||
var previousCurrentAvatarImageUrl = '';
|
var previousCurrentAvatarImageUrl = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user