removes obsolete attribute

This commit is contained in:
vulppine
2022-08-23 15:17:09 -07:00
parent 403f69a592
commit cb5ffe0f3d

View File

@@ -12,7 +12,6 @@ namespace Content.Client.Atmos.Monitor;
public sealed class AtmosAlarmableVisualsSystem : VisualizerSystem<AtmosAlarmableVisualsComponent> public sealed class AtmosAlarmableVisualsSystem : VisualizerSystem<AtmosAlarmableVisualsComponent>
{ {
[Obsolete("Subscribe to AppearanceChangeEvent instead.")]
protected override void OnAppearanceChange(EntityUid uid, AtmosAlarmableVisualsComponent component, ref AppearanceChangeEvent args) protected override void OnAppearanceChange(EntityUid uid, AtmosAlarmableVisualsComponent component, ref AppearanceChangeEvent args)
{ {
if (args.Sprite == null || !args.Sprite.LayerMapTryGet(component.LayerMap, out int layer)) if (args.Sprite == null || !args.Sprite.LayerMapTryGet(component.LayerMap, out int layer))