From 392ec9abab7b3e27d7c992d11b8ad8030d2651cf Mon Sep 17 00:00:00 2001 From: MrZ_26 Date: Tue, 11 Aug 2020 00:31:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=AE=8C=E6=AF=95=E6=A0=87?= =?UTF-8?q?=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/init.lua | 2 +- Zframework/timer.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Zframework/init.lua b/Zframework/init.lua index 9ba6f044..4fb5776e 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -1152,7 +1152,7 @@ function love.run() end --Fresh power info. - if Timer()-lastFreshPow>2 and setting.powerInfo and SCN.cur~="load"then + if Timer()-lastFreshPow>2 and setting.powerInfo and loadingFinished then updatePowerInfo() lastFreshPow=Timer() _=gc.getWidth() diff --git a/Zframework/timer.lua b/Zframework/timer.lua index 03e3e6cd..c5d0d333 100644 --- a/Zframework/timer.lua +++ b/Zframework/timer.lua @@ -52,6 +52,7 @@ function Tmr.load() SCN.swapTo("intro","none") end end + loadingFinished=true return end S.cur=S.cur+1