mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Detach and reattach scores to make work
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using AutoMapper;
|
||||
using Newtonsoft.Json;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Framework.Testing;
|
||||
@ -112,9 +113,16 @@ namespace osu.Game.Scoring
|
||||
[MapTo(nameof(Rank))]
|
||||
public int RankInt { get; set; }
|
||||
|
||||
[IgnoreMap]
|
||||
IRulesetInfo IScoreInfo.Ruleset => Ruleset;
|
||||
|
||||
[IgnoreMap]
|
||||
IBeatmapInfo IScoreInfo.Beatmap => Beatmap;
|
||||
|
||||
[IgnoreMap]
|
||||
IUser IScoreInfo.User => User;
|
||||
|
||||
[IgnoreMap]
|
||||
IEnumerable<INamedFileUsage> IHasNamedFiles.Files => Files;
|
||||
|
||||
#region Properties required to make things work with existing usages
|
||||
|
Reference in New Issue
Block a user