mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Disallow DualStages for non-converted beatmaps
This commit is contained in:
parent
ba58b25f01
commit
c1331cef1b
@ -34,6 +34,10 @@ namespace osu.Game.Rulesets.Mania.Mods
|
||||
{
|
||||
var mrc = (ManiaRulesetContainer)rulesetContainer;
|
||||
|
||||
// Although this can work, for now let's not allow keymods for mania-specific beatmaps
|
||||
if (mrc.IsForCurrentRuleset)
|
||||
return;
|
||||
|
||||
var newDefinitions = new List<StageDefinition>();
|
||||
foreach (var existing in mrc.Beatmap.Stages)
|
||||
{
|
||||
|
@ -154,7 +154,7 @@ namespace osu.Game.Rulesets.UI
|
||||
/// <summary>
|
||||
/// Whether the specified beatmap is assumed to be specific to the current ruleset.
|
||||
/// </summary>
|
||||
protected readonly bool IsForCurrentRuleset;
|
||||
public readonly bool IsForCurrentRuleset;
|
||||
|
||||
public override ScoreProcessor CreateScoreProcessor() => new ScoreProcessor<TObject>(this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user