Allow ChatLines to exist without UserProfileOverlay

Fixes testcases failing when logged in.
This commit is contained in:
Dean Herbert 2017-07-22 17:18:20 +09:00
parent d344452e9b
commit 7549d3a2c4

View File

@ -78,7 +78,7 @@ namespace osu.Game.Overlays.Chat
Padding = new MarginPadding { Left = padding, Right = padding }; Padding = new MarginPadding { Left = padding, Right = padding };
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader(true)]
private void load(OsuColour colours, UserProfileOverlay profile) private void load(OsuColour colours, UserProfileOverlay profile)
{ {
customUsernameColour = colours.ChatBlue; customUsernameColour = colours.ChatBlue;