修正几处检测当前场景的代码之前更新场景模块忘了改

This commit is contained in:
MrZ_26
2022-10-26 03:48:05 +08:00
parent af7c73f9f0
commit b436645ab7
3 changed files with 7 additions and 7 deletions

View File

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