mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Fix ScoreInfo.RealmUser
not getting deep cloned correctly
I'm still not at all happy with the play-to-results flow (with multiple clones), but this will have to do for now.
This commit is contained in:
@ -133,6 +133,11 @@ namespace osu.Game.Scoring
|
||||
var clone = (ScoreInfo)this.Detach().MemberwiseClone();
|
||||
|
||||
clone.Statistics = new Dictionary<HitResult, int>(clone.Statistics);
|
||||
clone.RealmUser = new RealmUser
|
||||
{
|
||||
OnlineID = RealmUser.OnlineID,
|
||||
Username = RealmUser.Username,
|
||||
};
|
||||
|
||||
return clone;
|
||||
}
|
||||
|
Reference in New Issue
Block a user