Move force pausing to EndGame method
This commit is contained in:
committed by
Matthias Mailänder
parent
19613ed833
commit
20a16ad5f8
@@ -182,7 +182,7 @@ namespace OpenRA.Network
|
||||
var pause = order.TargetString == "Pause";
|
||||
|
||||
// Prevent injected unpause orders from restarting a finished game
|
||||
if (orderManager.World.PauseStateLocked && !pause)
|
||||
if (orderManager.World.IsGameOver && !pause)
|
||||
break;
|
||||
|
||||
if (orderManager.World.Paused != pause && world != null && world.LobbyInfo.NonBotClients.Count() > 1)
|
||||
|
||||
Reference in New Issue
Block a user