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

@@ -64,7 +64,7 @@ namespace OpenRA.Mods.Common.Widgets
return ToSelection();
// Put all functions that aren't unit-specific before this line!
if (!world.Selection.Actors.Any())
if (!world.Selection.Actors.Any() || world.IsGameOver)
return false;
if (key == ks.AttackMoveKey)