Add missing generic mappings to legacy mods

This commit is contained in:
Bartłomiej Dach 2020-11-15 15:35:06 +01:00
parent 5ace7abaa8
commit 5d44286d38

View File

@ -81,10 +81,18 @@ namespace osu.Game.Rulesets
value |= LegacyMods.HardRock; value |= LegacyMods.HardRock;
break; break;
case ModPerfect _:
value |= LegacyMods.Perfect;
break;
case ModSuddenDeath _: case ModSuddenDeath _:
value |= LegacyMods.SuddenDeath; value |= LegacyMods.SuddenDeath;
break; break;
case ModNightcore _:
value |= LegacyMods.Nightcore;
break;
case ModDoubleTime _: case ModDoubleTime _:
value |= LegacyMods.DoubleTime; value |= LegacyMods.DoubleTime;
break; break;
@ -100,6 +108,14 @@ namespace osu.Game.Rulesets
case ModFlashlight _: case ModFlashlight _:
value |= LegacyMods.Flashlight; value |= LegacyMods.Flashlight;
break; break;
case ModCinema _:
value |= LegacyMods.Cinema;
break;
case ModAutoplay _:
value |= LegacyMods.Autoplay;
break;
} }
} }