diff --git a/OpenRA.Game/Graphics/ChromeProvider.cs b/OpenRA.Game/Graphics/ChromeProvider.cs index 2d1e9a6335..47f57cacb1 100644 --- a/OpenRA.Game/Graphics/ChromeProvider.cs +++ b/OpenRA.Game/Graphics/ChromeProvider.cs @@ -88,6 +88,9 @@ namespace OpenRA.Graphics public static Sprite GetImage(string collectionName, string imageName) { + if (string.IsNullOrEmpty(collectionName)) + return null; + // Cached sprite Dictionary cachedCollection; Sprite sprite;