Alpha V0.7.16

This commit is contained in:
MrZ_26
2020-02-04 19:33:52 +08:00
parent 849e5b586e
commit 830f0ffbed
9 changed files with 36 additions and 24 deletions

View File

@@ -1,3 +1,4 @@
local wd=love.window
local Timer=love.timer.getTime
Tmr={}
@@ -276,7 +277,7 @@ function Tmr.play(dt)
if modeEnv.royaleMode and frame%120==0 then freshMostDangerous()end
end
function Tmr.pause(dt)
if pauseTime<50 then
if not wd.isMinimized()and pauseTime<50 then
pauseTime=pauseTime+1
end
end