mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
cleanup a couple of comments
This commit is contained in:
parent
154834b0ab
commit
22ab3fc7b5
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,6 @@ function showOverlays() {
|
|||
var identifiers = AvatarList.getAvatarIdentifiers();
|
||||
|
||||
for (i = 0; i < identifiers.length; ++i) {
|
||||
// get the position for this avatar
|
||||
var identifier = identifiers[i];
|
||||
|
||||
if (identifier === null) {
|
||||
|
@ -46,6 +45,7 @@ function showOverlays() {
|
|||
break;
|
||||
}
|
||||
|
||||
// get the position for this avatar
|
||||
var avatar = AvatarList.getAvatar(identifier);
|
||||
var avatarPosition = avatar && avatar.position;
|
||||
|
||||
|
@ -107,10 +107,10 @@ Controller.mousePressEvent.connect(function(event){
|
|||
// matched to an overlay, ask for the matching avatar to be ignored
|
||||
Users.ignore(ignoreOverlays[i]['avatarID']);
|
||||
|
||||
// remove the actual overlay
|
||||
// remove the actual overlay so it is no longer rendered
|
||||
Overlays.deleteOverlay(ignoreOverlay);
|
||||
|
||||
// remove the overlay from our internal array
|
||||
// remove the overlay ID and avatar ID from our internal array
|
||||
ignoreOverlays.splice(i, 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue