From 59d6a718d66eb39d81a3ad067354d1cbabb1c4b9 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 21 Sep 2021 20:09:34 +0900 Subject: [PATCH] Fix value not being loaded from beatmap in case of most dense grid setting --- osu.Game.Rulesets.Osu/Edit/OsuRectangularPositionSnapGrid.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Osu/Edit/OsuRectangularPositionSnapGrid.cs b/osu.Game.Rulesets.Osu/Edit/OsuRectangularPositionSnapGrid.cs index b93585af09..b8ff92bd37 100644 --- a/osu.Game.Rulesets.Osu/Edit/OsuRectangularPositionSnapGrid.cs +++ b/osu.Game.Rulesets.Osu/Edit/OsuRectangularPositionSnapGrid.cs @@ -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(); }