Fix if statement to match style rule 4.2.8

This commit is contained in:
Thijs Wenker 2016-12-09 21:26:59 +01:00 committed by GitHub
parent 3f9aa00fd6
commit 4d467deb5e

View file

@ -56,8 +56,8 @@ AvatarFinderBeacon = function(avatar) {
function updateBeacon(avatarSessionUUID) {
if (!(avatarSessionUUID in beacons)) {
var avatar = AvatarList.getAvatar(avatarSessionUUID);
if (TRY_TO_IGNORE_AC_AGENTS && (POSSIBLE_AC_AVATARS.indexOf(avatar.skeletonModelURL) !== -1 ||
Vec3.length(avatar.position) === 0.0)) {
if (TRY_TO_IGNORE_AC_AGENTS
&& (POSSIBLE_AC_AVATARS.indexOf(avatar.skeletonModelURL) !== -1 || Vec3.length(avatar.position) === 0.0)) {
return;
}
beacons[avatarSessionUUID] = new AvatarFinderBeacon(avatar);