修复暂停时设置能进入彩蛋模式 close #206

This commit is contained in:
MrZ626
2021-08-16 01:27:11 +08:00
parent 9dbb32c982
commit 45dce3210a
8 changed files with 18 additions and 8 deletions

View File

@@ -20,11 +20,13 @@ end
function scene.mouseDown(x,y)
local T=40*math.min(time,45)
if x>230 and x<1050 then
if math.abs(y-800+T)<70 then
loadGame('sprintLock',true)
elseif math.abs(y-2160+T)<70 then
loadGame('sprintFix',true)
if not GAME.playing then
if x>230 and x<1050 then
if math.abs(y-800+T)<70 then
loadGame('sprintLock',true)
elseif math.abs(y-2160+T)<70 then
loadGame('sprintFix',true)
end
end
end
end
@@ -37,7 +39,7 @@ function scene.keyDown(key,isRep)
if isRep then return end
if key=="escape"then
SCN.back()
else
elseif not GAME.playing then
if key=="l"then
loadGame('sprintLock',true)
elseif key=="f"then