From 0aced859087138736fa1606ad8c6af53f4dcb8b4 Mon Sep 17 00:00:00 2001 From: FreezyLemon Date: Sat, 2 Dec 2017 09:47:59 +0100 Subject: [PATCH] Changed the LinkID to the link's own Index instead of the previous one (just makes more sense imo) --- 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 3ebf5cf513..bf5855c45b 100644 --- a/osu.Game/Overlays/Chat/ChatLine.cs +++ b/osu.Game/Overlays/Chat/ChatLine.cs @@ -238,7 +238,7 @@ namespace osu.Game.Overlays.Chat sprite.Font = @"Exo2.0-MediumItalic"; sprite.Colour = urlColour; // We want to use something that is unique to every formatted link, so I just use the position of the link - ((ChatLinkSpriteText)sprite).LinkId = prevIndex; + ((ChatLinkSpriteText)sprite).LinkId = link.Index; }); }