rename hand disabler

This commit is contained in:
James Pollack 2015-11-28 22:29:12 -08:00
parent 9ec2a01475
commit 8f51ee6f58

View file

@ -1224,17 +1224,17 @@ function update() {
} }
} }
Messages.subscribe('Hifi-Beam-Disabler'); Messages.subscribe('Hifi-Hand-Disabler');
handleBeamDisablerMessages = function(channel, message, sender) { handleBeamDisablerMessages = function(channel, message, sender) {
if (sender === MyAvatar.sessionUUID) { if (sender === MyAvatar.sessionUUID) {
handToDisable = message; handToDisable = message;
if (message === 'left') { if (message === 'left') {
handToDisable = 1; handToDisable = LEFT_HAND;
} }
if (message === 'right') { if (message === 'right') {
handToDisable = 0; handToDisable = RIGHT_HAND;
} }
} }