mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Fix exception type
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
74399542d2
commit
4c6741e8aa
@ -148,7 +148,7 @@ namespace osu.Game.Rulesets.Osu.Edit
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new NotImplementedException($"{OsuGridToolboxGroup.GridType} has an incorrect value.");
|
||||
throw new ArgumentOutOfRangeException(nameof(OsuGridToolboxGroup.GridType), OsuGridToolboxGroup.GridType, "Unsupported grid type.");
|
||||
}
|
||||
|
||||
// Bind the start position to the toolbox sliders.
|
||||
|
Loading…
Reference in New Issue
Block a user