Added null check

This commit is contained in:
erri120 2019-10-11 13:23:35 +02:00
parent 0882e25cb8
commit ec6e40e8bc
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -369,7 +369,7 @@ namespace Wabbajack
SplashScreenAuthorName = _modList.Author;
_nexusSiteURL = _modList.Website;
SplashScreenSummary = _modList.Description;
if (_modList.Image != null)
if (!string.IsNullOrEmpty(_modList.Image) && _modList.Image.Length == 36)
{
//TODO: if(_modList.Image != null) SplashScreenImage = _modList.Image;
SplashScreenImage = _wabbajackLogo;