Actually save maximum statistics

This commit is contained in:
Dan Balasescu 2022-08-22 21:31:10 +09:00
parent d947a6cb59
commit cc648a90bc
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ protected override void Populate(ScoreInfo model, ArchiveReader? archive, Realm
if (string.IsNullOrEmpty(model.StatisticsJson))
model.StatisticsJson = JsonConvert.SerializeObject(model.Statistics);
if (string.IsNullOrEmpty(model.MaximumStatisticsJson))
model.MaximumStatisticsJson = JsonConvert.SerializeObject(model.MaximumStatistics);
}
protected override void PostImport(ScoreInfo model, Realm realm, bool batchImport)