Fix a crash when double-clicking a replay with an unknown map.
This commit is contained in:
@@ -624,7 +624,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
|
||||
void WatchReplay()
|
||||
{
|
||||
if (selectedReplay != null)
|
||||
if (selectedReplay != null && selectedReplay.GameInfo.MapPreview.Status == MapStatus.Available)
|
||||
{
|
||||
Game.JoinReplay(selectedReplay.FilePath);
|
||||
Ui.CloseWindow();
|
||||
|
||||
Reference in New Issue
Block a user