整理代码,test场景可以退出了

This commit is contained in:
MrZ626
2021-06-08 06:18:28 +08:00
parent 6428cb39a5
commit 83f037b704
5 changed files with 15 additions and 4 deletions

View File

@@ -16,6 +16,10 @@ function scene.sceneInit()
noKey=GAME.replaying
noTouch=not SETTING.VKSwitch or noKey
end
function scene.sceneBack()
love.keyboard.setKeyRepeat(true)
destroyPlayers()
end
scene.mouseDown=NULL
local function restart()