mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09: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;
|
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>();
|
var newDefinitions = new List<StageDefinition>();
|
||||||
foreach (var existing in mrc.Beatmap.Stages)
|
foreach (var existing in mrc.Beatmap.Stages)
|
||||||
{
|
{
|
||||||
|
@ -154,7 +154,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the specified beatmap is assumed to be specific to the current ruleset.
|
/// Whether the specified beatmap is assumed to be specific to the current ruleset.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected readonly bool IsForCurrentRuleset;
|
public readonly bool IsForCurrentRuleset;
|
||||||
|
|
||||||
public override ScoreProcessor CreateScoreProcessor() => new ScoreProcessor<TObject>(this);
|
public override ScoreProcessor CreateScoreProcessor() => new ScoreProcessor<TObject>(this);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user