From ca0fe59c410b510a4abe0f9ea30771bf38af8edf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 24 May 2014 15:45:26 +0200 Subject: [PATCH] make sure replays is always initialized fixes #5431 --- OpenRA.Mods.RA/Widgets/Logic/ReplayBrowserLogic.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Mods.RA/Widgets/Logic/ReplayBrowserLogic.cs b/OpenRA.Mods.RA/Widgets/Logic/ReplayBrowserLogic.cs index 3eb6068382..33f025709b 100644 --- a/OpenRA.Mods.RA/Widgets/Logic/ReplayBrowserLogic.cs +++ b/OpenRA.Mods.RA/Widgets/Logic/ReplayBrowserLogic.cs @@ -69,6 +69,8 @@ namespace OpenRA.Mods.RA.Widgets.Logic ApplyFilter(); } + else + replays = new List(); var watch = panel.Get("WATCH_BUTTON"); watch.IsDisabled = () => selectedReplay == null || selectedReplay.GameInfo.MapPreview.Status != MapStatus.Available;