]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix extra dollar sign in admin log for machine toggle (#38961)
authorSpaceManiac <tad@platymuus.com>
Sun, 13 Jul 2025 04:57:54 +0000 (21:57 -0700)
committerGitHub <noreply@github.com>
Sun, 13 Jul 2025 04:57:54 +0000 (06:57 +0200)
Content.Server/Power/EntitySystems/PowerChargeSystem.cs

index 7935af155a741707083c37c31c1576fcea906431..671a88087496640bd278f4f1e8f0f2b89d30b4dc 100644 (file)
@@ -85,8 +85,8 @@ public sealed class PowerChargeSystem : EntitySystem
         if (!Resolve(uid, ref powerReceiver))
             return;
 
-        if (user is { } )
-            _adminLogger.Add(LogType.Action, on ? LogImpact.Medium : LogImpact.High, $"{ToPrettyString(user):player} set ${ToPrettyString(uid):target} to {(on ? "on" : "off")}");
+        if (user is { })
+            _adminLogger.Add(LogType.Action, on ? LogImpact.Medium : LogImpact.High, $"{ToPrettyString(user):player} set {ToPrettyString(uid):target} to {(on ? "on" : "off")}");
 
         component.SwitchedOn = on;
         UpdatePowerState(component, powerReceiver);