From 8f51ee6f580b65b1a5ad45cf7b2fd3311e645fcc Mon Sep 17 00:00:00 2001 From: James Pollack Date: Sat, 28 Nov 2015 22:29:12 -0800 Subject: [PATCH] rename hand disabler --- examples/controllers/handControllerGrab.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/controllers/handControllerGrab.js b/examples/controllers/handControllerGrab.js index 0a6aec6e7d..158e67b5db 100644 --- a/examples/controllers/handControllerGrab.js +++ b/examples/controllers/handControllerGrab.js @@ -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; } }