Avoid exception if the game doesn't exist in PCGamingWiki

This commit is contained in:
Pat Hartl 2023-03-17 02:06:16 -05:00
parent 460f40c2cd
commit 55ab125c80

View file

@ -48,6 +48,9 @@ namespace LANCommander.PCGamingWiki
{
var results = new Dictionary<string, int>();
if (url == null)
return results;
HtmlWeb web = new HtmlWeb();
HtmlDocument dom = web.Load(url);