1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Fix left keys setting defaults in incorrect order

This commit is contained in:
Dean Herbert 2017-08-23 16:10:10 +09:00
parent 4395ea3850
commit bdd0a51c6e

View File

@ -146,8 +146,8 @@ namespace osu.Game.Rulesets.Mania
var bindings = new List<KeyBinding>();
for (int i = 0; i < variant / 2; i++)
bindings.Add(new KeyBinding(leftKeys[leftKeys.Length - 1 - i], currentKey++));
for (int i = leftKeys.Length - variant / 2; i < leftKeys.Length; i++)
bindings.Add(new KeyBinding(leftKeys[i], currentKey++));
for (int i = 0; i < variant / 2; i++)
bindings.Add(new KeyBinding(rightKeys[i], currentKey++));