From 2097a1b1c85d90788eb78787f1644567d4e047c1 Mon Sep 17 00:00:00 2001 From: NazrinNya <137837419+NazrinNya@users.noreply.github.com> Date: Tue, 9 Dec 2025 22:41:52 +0300 Subject: [PATCH] Click Here for Mangos (#2775) --- Content.Server/Labels/Label/LabelSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/Labels/Label/LabelSystem.cs b/Content.Server/Labels/Label/LabelSystem.cs index 5f7f74a23a..4212476def 100644 --- a/Content.Server/Labels/Label/LabelSystem.cs +++ b/Content.Server/Labels/Label/LabelSystem.cs @@ -8,6 +8,7 @@ using Content.Shared.Labels.EntitySystems; using Content.Shared.Paper; using JetBrains.Annotations; using Robust.Shared.Containers; +using Robust.Shared.Utility; namespace Content.Server.Labels { @@ -50,7 +51,7 @@ namespace Content.Server.Labels if (_tagSystem.HasTag(uid, PreventTag)) // DeltaV - Prevent labels on certain items return; // DeltaV - label.CurrentLabel = text; + label.CurrentLabel = text == null ? null : FormattedMessage.EscapeText(text); NameMod.RefreshNameModifiers(uid); Dirty(uid, label);