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