Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Content.Shared/RCD/Systems/RCDSystem.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Content.Shared.Administration.Logs;
using Content.Shared.Charges.Components;
using Content.Shared.Charges.Systems;
using Content.Shared.Construction;
using Content.Shared.Database;
Expand Down Expand Up @@ -94,6 +93,10 @@ private void OnRCDSystemMessage(EntityUid uid, RCDComponent component, RCDSystem

// Set the current RCD prototype to the one supplied
component.ProtoId = args.ProtoId;

var prototype = _protoManager.Index(component.ProtoId);
_adminLogger.Add(LogType.RCD, LogImpact.Low, $"{ToPrettyString(args.Actor):user} set RCD mode to: {prototype.Mode} : {prototype.Prototype}");

Dirty(uid, component);
}

Expand Down
Loading