Changed the LinkID to the link's own Index instead of the previous one (just makes more sense imo)

This commit is contained in:
FreezyLemon 2017-12-02 09:47:59 +01:00
parent d22a9df140
commit 0aced85908

View File

@ -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;
});
}