]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Hotfix] Change ID card console admin log severity to Medium (#36283)
authorSlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Fri, 4 Apr 2025 09:18:02 +0000 (11:18 +0200)
committerGitHub <noreply@github.com>
Fri, 4 Apr 2025 09:18:02 +0000 (11:18 +0200)
It's that simple

Content.Server/Access/Systems/IdCardConsoleSystem.cs

index c8fbe2ba9d9e5fb4fbcab058d4b69dd5b8523d98..a9e5d9a6d3ef2c43ac42306fe2366001860f8ca3 100644 (file)
@@ -168,7 +168,7 @@ public sealed class IdCardConsoleSystem : SharedIdCardConsoleSystem
 
         /*TODO: ECS SharedIdCardConsoleComponent and then log on card ejection, together with the save.
         This current implementation is pretty shit as it logs 27 entries (27 lines) if someone decides to give themselves AA*/
-        _adminLogger.Add(LogType.Action, LogImpact.High,
+        _adminLogger.Add(LogType.Action, LogImpact.Medium,
             $"{ToPrettyString(player):player} has modified {ToPrettyString(targetId):entity} with the following accesses: [{string.Join(", ", addedTags.Union(removedTags))}] [{string.Join(", ", newAccessList)}]");
     }