修改SCN.push使用不当
This commit is contained in:
@@ -458,8 +458,7 @@ function loadGame(M,ifQuickPlay)
|
||||
drawableText.modeName:set(text.modes[M][1])
|
||||
drawableText.levelName:set(text.modes[M][2])
|
||||
GAME.init=true
|
||||
SCN.push()
|
||||
SCN.swapTo("play",ifQuickPlay and"swipeD"or"fade_togame")
|
||||
SCN.go("play",ifQuickPlay and"swipeD"or"fade_togame")
|
||||
SFX.play("enter")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -119,7 +119,6 @@ function scene.keyDown(key)
|
||||
if key=="return"then
|
||||
if mapCam.sel then
|
||||
mapCam.keyCtrl=false
|
||||
SCN.push()
|
||||
loadGame(mapCam.sel)
|
||||
end
|
||||
elseif key=="f1"then
|
||||
|
||||
Reference in New Issue
Block a user