Click Here for Mangos (#2775)

This commit is contained in:
NazrinNya
2025-12-09 22:41:52 +03:00
committed by GitHub
parent 89b2179ae0
commit 2097a1b1c8
+2 -1
View File
@@ -8,6 +8,7 @@ using Content.Shared.Labels.EntitySystems;
using Content.Shared.Paper; using Content.Shared.Paper;
using JetBrains.Annotations; using JetBrains.Annotations;
using Robust.Shared.Containers; using Robust.Shared.Containers;
using Robust.Shared.Utility;
namespace Content.Server.Labels namespace Content.Server.Labels
{ {
@@ -50,7 +51,7 @@ namespace Content.Server.Labels
if (_tagSystem.HasTag(uid, PreventTag)) // DeltaV - Prevent labels on certain items if (_tagSystem.HasTag(uid, PreventTag)) // DeltaV - Prevent labels on certain items
return; // DeltaV return; // DeltaV
label.CurrentLabel = text; label.CurrentLabel = text == null ? null : FormattedMessage.EscapeText(text);
NameMod.RefreshNameModifiers(uid); NameMod.RefreshNameModifiers(uid);
Dirty(uid, label); Dirty(uid, label);