修复staff场景按esc不能返回
This commit is contained in:
@@ -26,7 +26,9 @@ function scene.touchDown(_,x,y)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function scene.keyDown(k)
|
function scene.keyDown(k)
|
||||||
if kb.isDown("s")then
|
if k=="escape"then
|
||||||
|
SCN.back()
|
||||||
|
elseif kb.isDown("s")then
|
||||||
if k=="l"then
|
if k=="l"then
|
||||||
loadGame("sprintLock")
|
loadGame("sprintLock")
|
||||||
elseif k=="f"then
|
elseif k=="f"then
|
||||||
|
|||||||
Reference in New Issue
Block a user