整理代码,关闭大量小程序的按键自动重复
This commit is contained in:
@@ -87,6 +87,10 @@ function scene.sceneInit()
|
||||
reset()
|
||||
BG.set("grey")
|
||||
BGM.play("way")
|
||||
love.keyboard.setKeyRepeat(false)
|
||||
end
|
||||
function scene.sceneBack()
|
||||
love.keyboard.setKeyRepeat(true)
|
||||
end
|
||||
|
||||
local function touch(n)
|
||||
|
||||
Reference in New Issue
Block a user