From: LordCarve <27449516+LordCarve@users.noreply.github.com> Date: Sat, 16 Mar 2024 17:31:21 +0000 (+0100) Subject: Fix anomaly decay logs (#26180) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d8a7b33b43cd9b0e241dc189653cbd4cf4c49086;p=space-station-14.git Fix anomaly decay logs (#26180) Fix anomaly decay logs (#26122) --- diff --git a/Content.Shared/Anomaly/SharedAnomalySystem.cs b/Content.Shared/Anomaly/SharedAnomalySystem.cs index 6cdcdf305b..78b198be80 100644 --- a/Content.Shared/Anomaly/SharedAnomalySystem.cs +++ b/Content.Shared/Anomaly/SharedAnomalySystem.cs @@ -133,7 +133,7 @@ public abstract class SharedAnomalySystem : EntitySystem if (HasComp(uid)) return; - AdminLog.Add(LogType.Anomaly, LogImpact.High, $"Anomaly {ToPrettyString(uid)} began to go supercritical."); + AdminLog.Add(LogType.Anomaly, LogImpact.Extreme, $"Anomaly {ToPrettyString(uid)} began to go supercritical."); if (_net.IsServer) _sawmill.Info($"Anomaly is going supercritical. Entity: {ToPrettyString(uid)}"); @@ -180,7 +180,8 @@ public abstract class SharedAnomalySystem : EntitySystem // Logging before resolve, in case the anomaly has deleted itself. if (_net.IsServer) _sawmill.Info($"Ending anomaly. Entity: {ToPrettyString(uid)}"); - AdminLog.Add(LogType.Anomaly, LogImpact.Extreme, $"Anomaly {ToPrettyString(uid)} went supercritical."); + AdminLog.Add(LogType.Anomaly, supercritical ? LogImpact.High : LogImpact.Low, + $"Anomaly {ToPrettyString(uid)} {(supercritical ? "went supercritical" : "decayed")}."); if (!Resolve(uid, ref component)) return;