mirror of https://github.com/ppy/osu
Actually save maximum statistics
This commit is contained in:
parent
d947a6cb59
commit
cc648a90bc
|
@ -73,6 +73,9 @@ protected override void Populate(ScoreInfo model, ArchiveReader? archive, Realm
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(model.StatisticsJson))
|
if (string.IsNullOrEmpty(model.StatisticsJson))
|
||||||
model.StatisticsJson = JsonConvert.SerializeObject(model.Statistics);
|
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)
|
protected override void PostImport(ScoreInfo model, Realm realm, bool batchImport)
|
||||||
|
|
Loading…
Reference in New Issue