Remove redundant parentheses

This commit is contained in:
Thijs Wenker 2016-12-10 00:21:20 +01:00 committed by GitHub
parent 4d467deb5e
commit 3ec06b1a6e

View file

@ -43,7 +43,7 @@ AvatarFinderBeacon = function(avatar) {
Overlays.deleteOverlay(this.overlay);
};
this.shouldShow = function() {
return (Vec3.distance(MyAvatar.position, avatar.position) >= MIN_DISPLAY_DISTANCE);
return Vec3.distance(MyAvatar.position, avatar.position) >= MIN_DISPLAY_DISTANCE;
};
this.update = function() {
avatar = AvatarList.getAvatar(avatarSessionUUID);