mirror of
https://github.com/osukey/osukey.git
synced 2025-05-19 20:47:24 +09:00
Remove legacy RulesetID
property from BeatmapInfo
This commit is contained in:
parent
a1b39a96cf
commit
3d3f0a89c2
@ -152,18 +152,6 @@ namespace osu.Game.Beatmaps
|
|||||||
|
|
||||||
#region Compatibility properties
|
#region Compatibility properties
|
||||||
|
|
||||||
[Ignored]
|
|
||||||
public int RulesetID
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
if (!string.IsNullOrEmpty(Ruleset.InstantiationInfo))
|
|
||||||
throw new InvalidOperationException($"Cannot set a {nameof(RulesetID)} when {nameof(Ruleset)} is already set to an actual ruleset.");
|
|
||||||
|
|
||||||
Ruleset.OnlineID = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignored]
|
[Ignored]
|
||||||
[Obsolete("Use BeatmapInfo.Difficulty instead.")] // can be removed 20220719
|
[Obsolete("Use BeatmapInfo.Difficulty instead.")] // can be removed 20220719
|
||||||
public BeatmapDifficulty BaseDifficulty
|
public BeatmapDifficulty BaseDifficulty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user