From d2e6631b46eed66145b88446087e2d931415cc7a Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 6 Dec 2020 15:03:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4log=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E8=AE=A9linter=E4=B8=8D=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/pause.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/scenes/pause.lua b/parts/scenes/pause.lua index fc1cf0de..3e5b58b7 100644 --- a/parts/scenes/pause.lua +++ b/parts/scenes/pause.lua @@ -2,7 +2,7 @@ local gc=love.graphics local Timer=love.timer.getTime local int=math.floor -local sin,log=math.sin,math.log +local sin,log=math.sin,math.log10 local format=string.format local setFont=setFont @@ -59,7 +59,7 @@ function scene.sceneInit(org) --Normalize Values for i=1,6 do - B[i]=B[i]*A[i]if B[i]>1.26 then B[i]=1.26+log(B[i]-.26,10)end + B[i]=B[i]*A[i]if B[i]>1.26 then B[i]=1.26+log(B[i]-.26)end end for i=1,6 do