summaryrefslogtreecommitdiff
path: root/motion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'motion.lua')
-rw-r--r--motion.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/motion.lua b/motion.lua
index a4a9b3c..f862f0e 100644
--- a/motion.lua
+++ b/motion.lua
@@ -21,7 +21,8 @@ local function strengthclamp(x) return math.max(math.min(x,4),0) end
parallel.waitForAny(
function() while true do
- if hover then p.launch(0,-90,vstrength) end
+ if hover then p.launch(0,-90,vstrength)
+ else os.sleep(0) end
end end,
function() while true do
vtext.setText(tostring(vstrength))