框架跟进

推进中途加入房间的观战相关
This commit is contained in:
MrZ_26
2022-11-03 12:23:29 +08:00
parent e688458cfd
commit 9e882e6188
7 changed files with 41 additions and 15 deletions

View File

@@ -2192,7 +2192,7 @@ local function task_autoPause()
while true do
yield()
time=time+1
if SCN.stack[#SCN.stack]~='game' or PLAYERS[1].frameRun<180 then
if SCN.current~='game' or PLAYERS[1].frameRun<180 then
return
elseif time==120 then
pauseGame()