Helps if you actually serialize the thing you're serializing

This commit is contained in:
nattthebear 2020-07-03 18:31:21 -04:00
parent 3a18f6356d
commit 054efa4bdd
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ namespace BizHawk.Client.Common
private static JToken Serialize(object o)
{
var tne = new TypeNameEncapsulator { o = o };
return JToken.FromObject(ConfigService.Serializer)["o"];
return JToken.FromObject(tne, ConfigService.Serializer)["o"];
}
private static object Deserialize(JToken j)
{