Freezes map after game ends.

Adds newline.

Disables keyboard hotkeys for units after game ends.
This commit is contained in:
deniz1a
2015-07-09 13:06:36 +03:00
parent ea3a680eda
commit ef143e5f8a
5 changed files with 19 additions and 12 deletions

View File

@@ -106,6 +106,9 @@ namespace OpenRA.Orders
if (self.Owner != self.World.LocalPlayer)
return null;
if (self.World.IsGameOver)
return null;
if (self.Disposed || !target.IsValidFor(self))
return null;