Avoid exception if the game doesn't exist in PCGamingWiki
parent
460f40c2cd
commit
55ab125c80
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue