diff --git a/Zframework/init.lua b/Zframework/init.lua index 471b43b6..59a8f14b 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -533,12 +533,14 @@ function love.run() end --Fresh power info. - if Timer()-lastFreshPow>2 and setting.powerInfo and loadingFinished then - updatePowerInfo() - lastFreshPow=Timer() + if Timer()-lastFreshPow>2 then + if setting.powerInfo and loadingFinished then + updatePowerInfo() + lastFreshPow=Timer() + end if gc.getWidth()~=scr.w then love.resize(gc.getWidth(),gc.getHeight()) - LOG.print("Resized",color.yellow) + LOG.print("Screen Resized",color.yellow) end end