Fix #439; Dropdowns stay open when the host force-starts the game.
This commit is contained in:
@@ -129,7 +129,10 @@ namespace OpenRA.Widgets
|
||||
Widget.RootWidget.Children.Remove(fullscreenMask);
|
||||
Widget.RootWidget.Children.Remove(panel);
|
||||
};
|
||||
|
||||
|
||||
HideDropDown += () => Game.BeforeGameStart -= HideDropDown;
|
||||
Game.BeforeGameStart += HideDropDown;
|
||||
|
||||
fullscreenMask.OnMouseDown = mi =>
|
||||
{
|
||||
if (onDismiss()) HideDropDown();
|
||||
|
||||
Reference in New Issue
Block a user