非单人游戏不允许回放

This commit is contained in:
MrZ626
2020-09-21 14:35:35 +08:00
parent 0b7032ce50
commit aa0f064262
2 changed files with 2 additions and 2 deletions

View File

@@ -2320,7 +2320,7 @@ do--pause
TASK.clear("play")
resetGameData()
SCN.swapTo("play","none")
elseif key=="p"and(game.result or game.replaying)then
elseif key=="p"and(game.result or game.replaying)and #players==1 then
TASK.removeTask_code(TICK.autoPause)
resetPartGameData(true)
SCN.swapTo("play","none")