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:
parent
4d7d4b7389
commit
d7fa6933be
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user