mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
fix conversion
This commit is contained in:
parent
20a9b60e7b
commit
d05229d3b4
1 changed files with 2 additions and 4 deletions
|
@ -186,9 +186,7 @@
|
|||
} else if (hand === Controller.Standard.LeftHand) {
|
||||
return "LeftHand";
|
||||
}
|
||||
debug("handToString called without valid hand!");
|
||||
debugger;
|
||||
throw new Exception('hm');
|
||||
debug("handToString called without valid hand! value: ", hand);
|
||||
return "";
|
||||
}
|
||||
|
||||
|
@ -769,7 +767,7 @@
|
|||
connectingId = senderID;
|
||||
connectingHandString = message.hand;
|
||||
connectingHandJointIndex = AvatarList.getAvatarIdentifiers().indexOf(connectingId) !== -1 ?
|
||||
getIdealHandJointIndex(AvatarList.getAvatar(connectingId), connectingHandString) : -1;
|
||||
getIdealHandJointIndex(AvatarList.getAvatar(connectingId), stringToHand(connectingHandString)) : -1;
|
||||
messageSend({
|
||||
key: "connectionAck",
|
||||
id: senderID,
|
||||
|
|
Loading…
Reference in a new issue