修复tas的时候重开游戏会有问题

This commit is contained in:
MrZ626
2021-08-20 01:34:04 +08:00
parent d7cf2c19ab
commit a81d2e9ccc

View File

@@ -107,6 +107,9 @@ local function restart()
resetGameData(PLAYERS[1].frameRun<240 and'q')
noKey=replaying
noTouch=replaying
tasMode=false
floatGameRate,gameRate=0,1
updateRepButtons()
end
local function checkGameKeyDown(key)
local k=keyMap.keyboard[key]