]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Disable ame unsafe admin alert (#29582)
authorChief-Engineer <119664036+Chief-Engineer@users.noreply.github.com>
Sun, 30 Jun 2024 12:26:41 +0000 (07:26 -0500)
committerGitHub <noreply@github.com>
Sun, 30 Jun 2024 12:26:41 +0000 (22:26 +1000)
disable ame unsafe admin alert

Content.Server/Ame/EntitySystems/AmeControllerSystem.cs

index 1b323d664378271a0bea5a041c97d16f626528ee..e6abe98b95c6b1d743039fa4aa70f16a6f72b316 100644 (file)
@@ -270,6 +270,9 @@ public sealed class AmeControllerSystem : EntitySystem
         var humanReadableState = controller.Injecting ? "Inject" : "Not inject";
         _adminLogger.Add(LogType.Action, LogImpact.Extreme, $"{EntityManager.ToPrettyString(user.Value):player} has set the AME to inject {controller.InjectionAmount} while set to {humanReadableState}");
 
+        /* This needs to be information which an admin is very likely to want to be informed about in order to be an admin alert or have a sound notification.
+        At the time of editing, players regularly "overclock" the AME and those cases require no admin attention.
+
         // Admin alert
         var safeLimit = 0;
         if (TryGetAMENodeGroup(uid, out var group))
@@ -285,6 +288,7 @@ public sealed class AmeControllerSystem : EntitySystem
                 controller.EffectCooldown = _gameTiming.CurTime + controller.CooldownDuration;
             }
         }
+        */
     }
 
     public void AdjustInjectionAmount(EntityUid uid, int delta, int min = 0, int max = int.MaxValue, EntityUid? user = null, AmeControllerComponent? controller = null)