1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Merge pull request #5435 from peppy/system-mode-type

Move TouchDevice mod to "system" type
This commit is contained in:
Dan Balasescu 2019-07-23 13:25:55 +09:00 committed by GitHub
commit 849629708b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View File

@ -11,6 +11,8 @@ namespace osu.Game.Rulesets.Osu.Mods
public override string Acronym => "TD"; public override string Acronym => "TD";
public override double ScoreMultiplier => 1; public override double ScoreMultiplier => 1;
public override ModType Type => ModType.System;
public override bool Ranked => true; public override bool Ranked => true;
} }
} }

View File

@ -138,6 +138,12 @@ namespace osu.Game.Rulesets.Osu
new MultiMod(new ModWindUp<OsuHitObject>(), new ModWindDown<OsuHitObject>()), new MultiMod(new ModWindUp<OsuHitObject>(), new ModWindDown<OsuHitObject>()),
}; };
case ModType.System:
return new Mod[]
{
new OsuModTouchDevice(),
};
default: default:
return new Mod[] { }; return new Mod[] { };
} }

View File

@ -9,6 +9,7 @@ namespace osu.Game.Rulesets.Mods
DifficultyIncrease, DifficultyIncrease,
Conversion, Conversion,
Automation, Automation,
Fun Fun,
System
} }
} }