From 5f5dedaa409141836307844f6c858c465afd27a2 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Mon, 17 Oct 2016 10:53:02 -0700 Subject: [PATCH] Fix equip sphere not showing up --- scripts/system/controllers/handControllerGrab.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/system/controllers/handControllerGrab.js b/scripts/system/controllers/handControllerGrab.js index 84e94e85b6..e2a982b308 100644 --- a/scripts/system/controllers/handControllerGrab.js +++ b/scripts/system/controllers/handControllerGrab.js @@ -2770,10 +2770,10 @@ var handleHandMessages = function(channel, message, sender) { Messages.messageReceived.connect(handleHandMessages); -var BASIC_TIMER_INTERVAL = 20; // 20ms = 50hz good enough +var BASIC_TIMER_INTERVAL_MS = 20; // 20ms = 50hz good enough var updateIntervalTimer = Script.setInterval(function(){ - update(); -}, BASIC_TIMER_INTERVAL); + update(BASIC_TIMER_INTERVAL_MS / 1000); +}, BASIC_TIMER_INTERVAL_MS); function cleanup() { Script.clearInterval(updateIntervalTimer);