Fix extra dollar sign in admin log for machine toggle (#38961)
This commit is contained in:
@@ -86,7 +86,7 @@ public sealed class PowerChargeSystem : EntitySystem
|
||||
return;
|
||||
|
||||
if (user is { })
|
||||
_adminLogger.Add(LogType.Action, on ? LogImpact.Medium : LogImpact.High, $"{ToPrettyString(user):player} set ${ToPrettyString(uid):target} to {(on ? "on" : "off")}");
|
||||
_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);
|
||||
|
||||
Reference in New Issue
Block a user