From 7549d3a2c4b6e1eeb4fa21f80a8f67e9d1c44dab Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sat, 22 Jul 2017 17:18:20 +0900 Subject: [PATCH] Allow ChatLines to exist without UserProfileOverlay Fixes testcases failing when logged in. --- osu.Game/Overlays/Chat/ChatLine.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Overlays/Chat/ChatLine.cs b/osu.Game/Overlays/Chat/ChatLine.cs index c08e62428b..809e771840 100644 --- a/osu.Game/Overlays/Chat/ChatLine.cs +++ b/osu.Game/Overlays/Chat/ChatLine.cs @@ -78,7 +78,7 @@ public ChatLine(Message message) Padding = new MarginPadding { Left = padding, Right = padding }; } - [BackgroundDependencyLoader] + [BackgroundDependencyLoader(true)] private void load(OsuColour colours, UserProfileOverlay profile) { customUsernameColour = colours.ChatBlue;