mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
rename hand disabler
This commit is contained in:
parent
9ec2a01475
commit
8f51ee6f58
1 changed files with 3 additions and 3 deletions
|
@ -1224,17 +1224,17 @@ function update() {
|
|||
}
|
||||
}
|
||||
|
||||
Messages.subscribe('Hifi-Beam-Disabler');
|
||||
Messages.subscribe('Hifi-Hand-Disabler');
|
||||
|
||||
handleBeamDisablerMessages = function(channel, message, sender) {
|
||||
|
||||
if (sender === MyAvatar.sessionUUID) {
|
||||
handToDisable = message;
|
||||
if (message === 'left') {
|
||||
handToDisable = 1;
|
||||
handToDisable = LEFT_HAND;
|
||||
}
|
||||
if (message === 'right') {
|
||||
handToDisable = 0;
|
||||
handToDisable = RIGHT_HAND;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue