]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Air alarms check sensors upon power returning
authorosjarw <oskariwjarvinen@gmail.com>
Tue, 9 Jul 2024 20:28:28 +0000 (23:28 +0300)
committerosjarw <oskariwjarvinen@gmail.com>
Tue, 9 Jul 2024 20:28:28 +0000 (23:28 +0300)
Content.Server/Atmos/Monitor/Systems/AtmosMonitoringSystem.cs

index c1a5256fdd5bb51f0e649db1c3e3e318f19ab167..2bbd409b8f41afc4c9060526d361e1c7691d1a2a 100644 (file)
@@ -151,6 +151,7 @@ public sealed class AtmosMonitorSystem : EntitySystem
                 }
 
                 _deviceNetSystem.QueuePacket(uid, args.SenderAddress, payload);
+                Alert(uid, component.LastAlarmState);
                 break;
         }
     }