mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
Fix if statement to match style rule 4.2.8
This commit is contained in:
parent
3f9aa00fd6
commit
4d467deb5e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue