mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 10:43:04 +08:00
Ensure clones don't reference to MaximumStatistics
This commit is contained in:
parent
e7cbb6c63d
commit
17029f0b92
@ -136,6 +136,7 @@ namespace osu.Game.Scoring
|
||||
var clone = (ScoreInfo)this.Detach().MemberwiseClone();
|
||||
|
||||
clone.Statistics = new Dictionary<HitResult, int>(clone.Statistics);
|
||||
clone.MaximumStatistics = new Dictionary<HitResult, int>(clone.MaximumStatistics);
|
||||
clone.RealmUser = new RealmUser
|
||||
{
|
||||
OnlineID = RealmUser.OnlineID,
|
||||
|
Loading…
Reference in New Issue
Block a user