This commit is contained in:
pypy
2020-01-12 08:40:25 +09:00
parent f72adb9d90
commit e851460cf0

View File

@@ -5479,7 +5479,8 @@ if (window.CefSharp) {
}
D.users = [];
if (!L.isOffline) {
for (var { ref } of this.friends.values()) {
for (var userId of this.friends.keys()) {
var ref = API.cachedUsers.get(userId);
if (ref &&
ref.location === D.ref.location) {
D.users.push(ref);
@@ -5886,7 +5887,8 @@ if (window.CefSharp) {
users: []
};
}
for (var { ref } of this.friends.values()) {
for (var userId of this.friends.keys()) {
var ref = API.cachedUsers.get(userId);
if (ref &&
ref.$location.worldId === D.id) {
({ instanceId } = ref.$location);