1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 17:02:57 +08:00

Fix potential nullref

This commit is contained in:
Dean Herbert 2017-05-25 16:31:56 +09:00
parent 4d7d4b7389
commit d7fa6933be

View File

@ -158,14 +158,19 @@ namespace osu.Game.Users
},
},
};
Status.ValueChanged += displayStatus;
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
this.colours = colours;
Status.ValueChanged += displayStatus;
}
protected override void LoadComplete()
{
base.LoadComplete();
Status.TriggerChange();
}
private void displayStatus(UserStatus status)