tas功能需要到控制台使用tas命令开启,退出前有效

This commit is contained in:
MrZ626
2021-08-16 23:38:17 +08:00
parent 132cb89b90
commit 23e3dc465d
10 changed files with 29 additions and 15 deletions

View File

@@ -224,22 +224,9 @@ function scene.keyDown(key,isRep)
elseif not isRep then
speedUp()
end
elseif key=="t"and kb.isDown('lctrl','rctrl')then
tasMode=false
floatGameRate,gameRate=0,1
updateRepButtons()
updateMenuButtons()
end
else
if key=="t"and kb.isDown('lctrl','rctrl')then
gameRate=0
tasMode=true
GAME.tasUsed=true
updateRepButtons()
updateMenuButtons()
else
gameKeyDown(key)
end
gameKeyDown(key)
end
end
end