fix another crash in replay browser
This commit is contained in:
@@ -47,8 +47,11 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
|
|||||||
|
|
||||||
widget.GetWidget("WATCH_BUTTON").OnMouseUp = mi =>
|
widget.GetWidget("WATCH_BUTTON").OnMouseUp = mi =>
|
||||||
{
|
{
|
||||||
Widget.CloseWindow();
|
if (currentReplay == null)
|
||||||
Game.JoinReplay(CurrentReplay);
|
{
|
||||||
|
Widget.CloseWindow();
|
||||||
|
Game.JoinReplay(CurrentReplay);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user