Remove a benign null reference exception

This was in a try catch so you got the null you needed anyway, but it could be confusing to see in a debugger report
This commit is contained in:
nattthebear 2020-07-12 11:10:57 -04:00
parent beb51ab286
commit 6f218ff20b
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ namespace BizHawk.Client.Common
{
try
{
return j.ToObject(type, ConfigService.Serializer);
return j?.ToObject(type, ConfigService.Serializer);
}
catch
{