1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

Fix value not being loaded from beatmap in case of most dense grid setting

This commit is contained in:
Dean Herbert 2021-09-21 20:09:34 +09:00
parent d15bd5a15e
commit 59d6a718d6

View File

@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.Osu.Edit
private void load()
{
var gridSizeIndex = Array.IndexOf(grid_sizes, editorBeatmap.BeatmapInfo.GridSize);
if (gridSizeIndex > 0)
if (gridSizeIndex >= 0)
currentGridSizeIndex = gridSizeIndex;
updateSpacing();
}