Freezes map after game ends.
Adds newline. Disables keyboard hotkeys for units after game ends.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user