回放录像时可以暂停
This commit is contained in:
@@ -91,8 +91,7 @@ function touchMove.play()
|
||||
end
|
||||
end
|
||||
function keyDown.play(key)
|
||||
if GAME.replaying then return end
|
||||
|
||||
if not GAME.replaying then
|
||||
local m=keyMap
|
||||
for k=1,20 do
|
||||
if key==m[1][k]or key==m[2][k]then
|
||||
@@ -102,7 +101,7 @@ function keyDown.play(key)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
if key=="escape"then pauseGame()end
|
||||
end
|
||||
function keyUp.play(key)
|
||||
|
||||
Reference in New Issue
Block a user