mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
Add detach mapping for BeatmapUserSettings
This commit is contained in:
parent
9792f0653a
commit
7d11cfb301
@ -38,6 +38,7 @@ namespace osu.Game.Database
|
||||
c.CreateMap<BeatmapInfo, BeatmapInfo>()
|
||||
.ForMember(s => s.Ruleset, cc => cc.Ignore())
|
||||
.ForMember(s => s.Metadata, cc => cc.Ignore())
|
||||
.ForMember(s => s.UserSettings, cc => cc.Ignore())
|
||||
.ForMember(s => s.Difficulty, cc => cc.Ignore())
|
||||
.ForMember(s => s.BeatmapSet, cc => cc.Ignore())
|
||||
.AfterMap((s, d) =>
|
||||
@ -154,6 +155,7 @@ namespace osu.Game.Database
|
||||
|
||||
c.CreateMap<RealmKeyBinding, RealmKeyBinding>();
|
||||
c.CreateMap<BeatmapMetadata, BeatmapMetadata>();
|
||||
c.CreateMap<BeatmapUserSettings, BeatmapUserSettings>();
|
||||
c.CreateMap<BeatmapDifficulty, BeatmapDifficulty>();
|
||||
c.CreateMap<RulesetInfo, RulesetInfo>();
|
||||
c.CreateMap<ScoreInfo, ScoreInfo>();
|
||||
|
Loading…
Reference in New Issue
Block a user