mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 08:02:54 +08:00
Enable NRT on Beatmap
This commit is contained in:
parent
a80a5be4ec
commit
268b965ee8
@ -1,8 +1,6 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using osu.Game.Beatmaps.Timing;
|
using osu.Game.Beatmaps.Timing;
|
||||||
using osu.Game.Rulesets.Objects;
|
using osu.Game.Rulesets.Objects;
|
||||||
@ -26,7 +24,6 @@ namespace osu.Game.Beatmaps
|
|||||||
{
|
{
|
||||||
difficulty = value;
|
difficulty = value;
|
||||||
|
|
||||||
if (beatmapInfo != null)
|
|
||||||
beatmapInfo.Difficulty = difficulty.Clone();
|
beatmapInfo.Difficulty = difficulty.Clone();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -40,7 +37,6 @@ namespace osu.Game.Beatmaps
|
|||||||
{
|
{
|
||||||
beatmapInfo = value;
|
beatmapInfo = value;
|
||||||
|
|
||||||
if (beatmapInfo?.Difficulty != null)
|
|
||||||
Difficulty = beatmapInfo.Difficulty.Clone();
|
Difficulty = beatmapInfo.Difficulty.Clone();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user