修改SCN.push使用不当

This commit is contained in:
MrZ626
2020-12-05 22:51:55 +08:00
parent 51ca17735d
commit f05dc45c03
2 changed files with 1 additions and 3 deletions

View File

@@ -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

View File

@@ -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