修正几处检测当前场景的代码之前更新场景模块忘了改
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user