mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-28 19:23:47 +02:00
Slop
This commit is contained in:
@@ -1020,7 +1020,7 @@ export const useUserStore = defineStore('User', () => {
|
||||
});
|
||||
}
|
||||
D.$location = L;
|
||||
L.user = null;
|
||||
L.user = {};
|
||||
if (L.userId) {
|
||||
ref = cachedUsers.get(L.userId);
|
||||
if (typeof ref === 'undefined') {
|
||||
@@ -1103,9 +1103,10 @@ export const useUserStore = defineStore('User', () => {
|
||||
}
|
||||
D.users = users;
|
||||
if (
|
||||
L.worldId &&
|
||||
currentLocation === L.tag &&
|
||||
playersInInstance.size > 0
|
||||
(L.worldId &&
|
||||
currentLocation === L.tag &&
|
||||
playersInInstance.size > 0) ||
|
||||
!L.isRealInstance
|
||||
) {
|
||||
D.instance = {
|
||||
id: L.instanceId,
|
||||
@@ -1117,17 +1118,6 @@ export const useUserStore = defineStore('User', () => {
|
||||
ref: {}
|
||||
};
|
||||
}
|
||||
if (!L.isRealInstance) {
|
||||
D.instance = {
|
||||
id: L.instanceId,
|
||||
tag: L.tag,
|
||||
$location: L,
|
||||
friendCount: 0,
|
||||
users: [],
|
||||
shortName: '',
|
||||
ref: {}
|
||||
};
|
||||
}
|
||||
const instanceRef = instanceStore.cachedInstances.get(L.tag);
|
||||
if (typeof instanceRef !== 'undefined') {
|
||||
D.instance.ref = instanceRef;
|
||||
|
||||
Reference in New Issue
Block a user