1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 08:52:58 +08:00

Removed unused property and unnecessary return statement (CI)

This commit is contained in:
FreezyLemon 2017-12-07 19:38:59 +01:00
parent 908553ffaf
commit 34a37935e3

View File

@ -67,7 +67,6 @@ namespace osu.Game.Overlays.Chat
private const float text_size = 20; private const float text_size = 20;
private Color4 customUsernameColour; private Color4 customUsernameColour;
private Color4 urlColour;
private OsuSpriteText timestamp; private OsuSpriteText timestamp;
@ -106,7 +105,6 @@ namespace osu.Game.Overlays.Chat
{ {
this.chat = chat; this.chat = chat;
customUsernameColour = colours.ChatBlue; customUsernameColour = colours.ChatBlue;
urlColour = colours.Blue;
} }
private bool senderHasBackground => !string.IsNullOrEmpty(message.Sender.Colour); private bool senderHasBackground => !string.IsNullOrEmpty(message.Sender.Colour);
@ -224,8 +222,6 @@ namespace osu.Game.Overlays.Chat
if (message.IsAction) if (message.IsAction)
sprite.Font = @"Exo2.0-MediumItalic"; sprite.Font = @"Exo2.0-MediumItalic";
}); });
return;
} }
else else
{ {