forked from SpaceStation14-Shenanigans/Monolith
Click Here for Mangos (#2775)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user