Add helper method to convert to legacy mods enums

This commit is contained in:
Dean Herbert
2020-03-24 12:06:24 +09:00
parent e5f4d8686e
commit 546772192c
8 changed files with 151 additions and 9 deletions

View File

@ -66,7 +66,7 @@ namespace osu.Game.Scoring.Legacy
/* score.Perfect = */
sr.ReadBoolean();
scoreInfo.Mods = currentRuleset.ConvertLegacyMods((LegacyMods)sr.ReadInt32()).ToArray();
scoreInfo.Mods = currentRuleset.ConvertFromLegacyMods((LegacyMods)sr.ReadInt32()).ToArray();
/* score.HpGraphString = */
sr.ReadString();