mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:43:04 +08:00
Why this line got deleted 🤔
This commit is contained in:
parent
eed0f3a1de
commit
ea6434a7a0
@ -93,6 +93,8 @@ namespace osu.Game.Rulesets.UI
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OnScreenDisplay onScreenDisplay, SettingsStore settings)
|
private void load(OnScreenDisplay onScreenDisplay, SettingsStore settings)
|
||||||
{
|
{
|
||||||
|
this.onScreenDisplay = onScreenDisplay;
|
||||||
|
|
||||||
rulesetConfig = CreateConfig(Ruleset, settings);
|
rulesetConfig = CreateConfig(Ruleset, settings);
|
||||||
|
|
||||||
if (rulesetConfig != null)
|
if (rulesetConfig != null)
|
||||||
@ -272,8 +274,9 @@ namespace osu.Game.Rulesets.UI
|
|||||||
KeyBindingInputManager.RelativeSizeAxes = Axes.Both;
|
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
|
||||||
// Mods are now added in the load() method, this method is still executed after the constructor
|
// Mods are now added in the load() method because we need the OsuConfigManager
|
||||||
// so they are still added in last
|
// for the IReadFromConfig implementations. Rhis method is still executed after the constructor,
|
||||||
|
// so the mods are still added in last
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user