mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 16:12:57 +08:00
Defer virtual method to load().
This commit is contained in:
parent
d21c3358b9
commit
06e014708a
@ -202,8 +202,6 @@ namespace osu.Game.Rulesets.UI
|
||||
protected HitRenderer(WorkingBeatmap beatmap)
|
||||
: base(beatmap)
|
||||
{
|
||||
KeyConversionInputManager.Add(Playfield = CreatePlayfield());
|
||||
|
||||
InputManager.Add(content = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
@ -216,6 +214,8 @@ namespace osu.Game.Rulesets.UI
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
KeyConversionInputManager.Add(Playfield = CreatePlayfield());
|
||||
|
||||
loadObjects();
|
||||
|
||||
if (InputManager?.ReplayInputHandler != null)
|
||||
|
Loading…
Reference in New Issue
Block a user