快速重开不播放入场动画

This commit is contained in:
MrZ626
2020-12-20 23:17:51 +08:00
parent ecc1ae826f
commit d0ec3f4139
4 changed files with 26 additions and 25 deletions

View File

@@ -1838,8 +1838,10 @@ function Player.act_func(P)
P.gameEnv.Fkey(P)
end
function Player.act_restart()
if GAME.frame<240 or GAME.result then
resetGameData()
if GAME.frame<240 then
resetGameData(false,true)
elseif GAME.result then
resetGameData(false,false)
else
LOG.print(text.holdR,20,COLOR.orange)
end