简化resetGameData函数

This commit is contained in:
MrZ626
2020-11-20 00:43:47 +08:00
parent 7bfd362567
commit 0456bf515e
4 changed files with 21 additions and 67 deletions

View File

@@ -202,7 +202,7 @@ function Tmr.play(dt)
elseif P1.keyPressing[10]then
restartCount=restartCount+1
if restartCount>20 then
resetPartGameData()
resetGameData()
return
end
elseif restartCount>0 then