Update exception name.

This commit is contained in:
Dean Herbert
2017-04-20 12:11:03 +09:00
parent 873599b359
commit 1707c2458e
2 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@ namespace osu.Game.Screens.Play
{
HitRenderer = rulesetInstance.CreateHitRendererWith(Beatmap);
}
catch (BeatmapInvalidForModeException)
catch (BeatmapInvalidForRulesetException)
{
// we may fail to create a HitRenderer if the beatmap cannot be loaded with the user's preferred ruleset
// let's try again forcing the beatmap's ruleset.