Sender is always non-null

This commit is contained in:
Thomas Müller 2017-07-18 12:35:36 +03:00
parent fce5a191f1
commit a225b542d5

View File

@ -84,7 +84,7 @@ namespace osu.Game.Overlays.Chat
{
base.LoadComplete();
bool hasBackground = !string.IsNullOrEmpty(Message.Sender?.Colour);
bool hasBackground = !string.IsNullOrEmpty(Message.Sender.Colour);
Drawable username = new OsuSpriteText
{
Origin = Anchor.TopRight,