From fbfe5857669bd26b3252ff9bce7dbbed855c16d0 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 7 Dec 2020 10:26:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E4=BD=93=E4=B8=8B=E8=B0=83=E9=9C=87?= =?UTF-8?q?=E5=8A=A8=E5=BC=BA=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/vibrate.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Zframework/vibrate.lua b/Zframework/vibrate.lua index 7c8d223b..6ac5b559 100644 --- a/Zframework/vibrate.lua +++ b/Zframework/vibrate.lua @@ -1,8 +1,8 @@ -local level={0,0,.015,.02,.03,.04,.05,.06,.07,.08} -local VIB=love.system.vibrate +local level={0,0,.01,.015,.02,.03,.04,.05,.06,.07} +local vib=love.system.vibrate return function(t) local L=SETTING.vib if L>0 then - VIB(level[L+t]) + vib(level[L+t]) end end \ No newline at end of file