Skip to content

Commit

Permalink
修播放录像时初始化流程没重置暂停次数 close #1131
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Aug 19, 2024
1 parent 67aef1d commit dee6ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parts/gameFuncs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1051,15 +1051,15 @@ do-- function resetGameData(args)
GAME.rank=0
GAME.warnLVL0=0
GAME.warnLVL=0
GAME.pauseCount=0
GAME.pauseTime=0
if args:find'r' then
GAME.frameStart=0
GAME.recording=false
GAME.replaying=true
else
GAME.frameStart=args:find'n' and 0 or 180-SETTING.reTime*60
GAME.seed=seed or math.random(1046101471)
GAME.pauseTime=0
GAME.pauseCount=0
GAME.saved=false
GAME.setting=_copyGameSetting()
GAME.tasUsed=false
Expand Down

0 comments on commit dee6ba9

Please sign in to comment.