Update IdExaminableSystem.cs to use TryFromMarkup (#29957)

* Change FromMarkup to TryFromMarkup method in IdExaminableSystem.cs

* Update
This commit is contained in:
Winkarst
2024-07-14 02:17:15 +03:00
committed by GitHub
parent b7aa97e203
commit f687124312

View File

@@ -27,7 +27,8 @@ public sealed class IdExaminableSystem : EntitySystem
{
Act = () =>
{
var markup = FormattedMessage.FromMarkup(info);
var markup = FormattedMessage.FromMarkupOrThrow(info);
_examineSystem.SendExamineTooltip(args.User, uid, markup, false, false);
},
Text = Loc.GetString("id-examinable-component-verb-text"),