1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:03:08 +08:00

Reorder arithmetic operation

This commit is contained in:
smoogipoo 2018-03-12 11:56:49 +09:00
parent dc85067b8c
commit 46caab6310

View File

@ -22,7 +22,7 @@ namespace osu.Game.Rulesets.Mania.Mods
{
var availableColumns = ((ManiaRulesetContainer)rulesetContainer).Beatmap.TotalColumns;
rulesetContainer.Objects.OfType<ManiaHitObject>().ForEach(h => h.Column = -h.Column + availableColumns - 1);
rulesetContainer.Objects.OfType<ManiaHitObject>().ForEach(h => h.Column = availableColumns - 1 - h.Column);
}
}
}