mirror of
https://github.com/osukey/osukey.git
synced 2025-05-07 14:47:22 +09: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…
x
Reference in New Issue
Block a user