if (TryComp<AppearanceComponent>(uid, out var appearance))
{
- _appearanceSystem.SetData(uid, TextScreenVisuals.ScreenText, new[] { signalTimer.Label }, appearance);
+ _appearanceSystem.SetData(uid, TextScreenVisuals.ScreenText, signalTimer.Label, appearance);
}
_audio.PlayPvs(signalTimer.DoneSound, uid);
component.Label = args.Text[..Math.Min(5, args.Text.Length)];
if (!HasComp<ActiveSignalTimerComponent>(uid))
- _appearanceSystem.SetData(uid, TextScreenVisuals.ScreenText, new string?[] { component.Label });
+ _appearanceSystem.SetData(uid, TextScreenVisuals.ScreenText, component.Label);
}
/// <summary>
if (appearance != null)
{
_appearanceSystem.SetData(uid, TextScreenVisuals.TargetTime, timer.TriggerTime, appearance);
- _appearanceSystem.SetData(uid, TextScreenVisuals.ScreenText, new string?[] { }, appearance);
+ _appearanceSystem.SetData(uid, TextScreenVisuals.ScreenText, string.Empty, appearance);
}
_signalSystem.InvokePort(uid, component.StartPort);