Files
tbd-station-14/Content.Client/Message/RichTextLabelExt.cs
2021-12-20 12:42:42 +01:00

14 lines
329 B
C#

using Robust.Client.UserInterface.Controls;
using Robust.Shared.Utility;
namespace Content.Client.Message
{
public static class RichTextLabelExt
{
public static void SetMarkup(this RichTextLabel label, string markup)
{
label.SetMessage(FormattedMessage.FromMarkup(markup));
}
}
}