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 deltanedas
parent 1f8b8180e5
commit cfb490c6e9
1 changed files with 2 additions and 1 deletions

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"),