mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Fixed links being removed too early
This commit is contained in:
@ -253,11 +253,11 @@ namespace osu.Game.Overlays.Chat
|
||||
});
|
||||
}
|
||||
|
||||
foreach (var link in linksToRemove)
|
||||
message.Links.Remove(link);
|
||||
|
||||
var lastLink = message.Links[message.Links.Count - 1];
|
||||
contentFlow.AddText(message.Content.Substring(lastLink.Index + lastLink.Length));
|
||||
|
||||
foreach (var link in linksToRemove)
|
||||
message.Links.Remove(link);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user