mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 02:32:55 +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.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
#nullable disable
|
||||
|
||||
using System;
|
||||
using osu.Game.Beatmaps.Timing;
|
||||
using osu.Game.Rulesets.Objects;
|
||||
@ -26,7 +24,6 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
difficulty = value;
|
||||
|
||||
if (beatmapInfo != null)
|
||||
beatmapInfo.Difficulty = difficulty.Clone();
|
||||
}
|
||||
}
|
||||
@ -40,7 +37,6 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
beatmapInfo = value;
|
||||
|
||||
if (beatmapInfo?.Difficulty != null)
|
||||
Difficulty = beatmapInfo.Difficulty.Clone();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user