diff --git a/osu.Game.Rulesets.Mania/Replays/ManiaReplayFrame.cs b/osu.Game.Rulesets.Mania/Replays/ManiaReplayFrame.cs index ed1143d8ff..6c38c5e91a 100644 --- a/osu.Game.Rulesets.Mania/Replays/ManiaReplayFrame.cs +++ b/osu.Game.Rulesets.Mania/Replays/ManiaReplayFrame.cs @@ -30,7 +30,7 @@ namespace osu.Game.Rulesets.Mania.Replays // NB: Via co-op mod, osu-stable can have two stages with floor(col/2) and ceil(col/2) columns. This will need special handling // elsewhere in the game if we do choose to support the old co-op mod anyway. For now, assume that there is only one stage. - bool isSpecialColumn(int column) => converter.TargetColumns % 2 == 1 && column == converter.TargetColumns / 2; + var stage = new StageDefinition { Columns = converter.TargetColumns }; var normalAction = ManiaAction.Key1; var specialAction = ManiaAction.Special1; @@ -41,7 +41,7 @@ namespace osu.Game.Rulesets.Mania.Replays { Actions.Add((activeColumns & 1) > 0 ? specialAction : normalAction); - if (isSpecialColumn(counter)) + if (stage.IsSpecialColumn(counter)) normalAction++; else specialAction++;