Skip to content

Commit

Permalink
Fix air alarms (space-wizards#29172)
Browse files Browse the repository at this point in the history
  • Loading branch information
osjarw authored and sleepyyapril committed Dec 21, 2024
1 parent cfb1fdf commit 78bfce2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Server/Atmos/Monitor/Systems/AtmosAlarmableSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using Robust.Server.Audio;
using Robust.Server.GameObjects;
using Robust.Shared.Audio;
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;

namespace Content.Server.Atmos.Monitor.Systems;
Expand Down Expand Up @@ -87,7 +88,7 @@ private void OnPacketRecv(EntityUid uid, AtmosAlarmableComponent component, Devi
return;

if (!args.Data.TryGetValue(DeviceNetworkConstants.Command, out string? cmd)
|| !args.Data.TryGetValue(AlertSource, out HashSet<string>? sourceTags))
|| !args.Data.TryGetValue(AlertSource, out HashSet<ProtoId<TagPrototype>>? sourceTags))
{
return;
}
Expand Down

0 comments on commit 78bfce2

Please sign in to comment.