修复暂停时设置能进入彩蛋模式 close #206
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user