1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 21:03:08 +08:00

Fix regression causing autoplay to fail

This commit is contained in:
Dean Herbert 2017-09-11 14:25:01 +09:00
parent 9d6571a1cb
commit 512232c1c8

View File

@ -77,13 +77,6 @@ namespace osu.Game.Rulesets.UI
Ruleset = ruleset; Ruleset = ruleset;
} }
[BackgroundDependencyLoader]
private void load()
{
KeyBindingInputManager = CreateInputManager();
KeyBindingInputManager.RelativeSizeAxes = Axes.Both;
}
/// <summary> /// <summary>
/// Checks whether all HitObjects have been judged, and invokes OnAllJudged. /// Checks whether all HitObjects have been judged, and invokes OnAllJudged.
/// </summary> /// </summary>
@ -194,6 +187,9 @@ namespace osu.Game.Rulesets.UI
// Post-process the beatmap // Post-process the beatmap
processor.PostProcess(Beatmap); processor.PostProcess(Beatmap);
KeyBindingInputManager = CreateInputManager();
KeyBindingInputManager.RelativeSizeAxes = Axes.Both;
// Add mods, should always be the last thing applied to give full control to mods // Add mods, should always be the last thing applied to give full control to mods
applyMods(Mods); applyMods(Mods);
} }