reset avatar beacons on domain change
This commit is contained in:
parent
dfb4c7cf89
commit
387f73b349
@ -64,6 +64,10 @@ function updateBeacon(avatarSessionUUID) {
|
||||
beacons[avatarSessionUUID].update();
|
||||
}
|
||||
|
||||
Window.domainChanged.connect(function () {
|
||||
beacons = {};
|
||||
});
|
||||
|
||||
Script.update.connect(function() {
|
||||
AvatarList.getAvatarIdentifiers().forEach(function(avatarSessionUUID) {
|
||||
updateBeacon(avatarSessionUUID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user