resetGameData参数更高级

This commit is contained in:
MrZ626
2020-12-21 08:37:15 +08:00
parent a97fc8b53a
commit a38e1f201d
4 changed files with 10 additions and 9 deletions

View File

@@ -1839,9 +1839,9 @@ function Player.act_func(P)
end
function Player.act_restart()
if GAME.frame<240 then
resetGameData(false,true)
resetGameData("q")
elseif GAME.result then
resetGameData(false,false)
resetGameData()
else
LOG.print(text.holdR,20,COLOR.orange)
end