@@ -54,7 +54,7 @@ public sealed partial class LabelSystem : EntitySystem
|
||||
{
|
||||
label ??= EnsureComp<LabelComponent>(uid);
|
||||
|
||||
label.CurrentLabel = text;
|
||||
label.CurrentLabel = text == null ? null : FormattedMessage.EscapeText(text);
|
||||
_nameModifier.RefreshNameModifiers(uid);
|
||||
|
||||
Dirty(uid, label);
|
||||
|
||||
Reference in New Issue
Block a user