Adds logging to stripping and construction starting (#11952)
This commit is contained in:
@@ -172,7 +172,7 @@ namespace Content.Server.Construction
|
||||
ChangeNode(uid, user, edge.Target, true, construction);
|
||||
|
||||
if (ev is ConstructionDoAfterComplete event1 && event1.WrappedEvent is InteractUsingEvent event2)
|
||||
_adminLogger.Add(LogType.Action, LogImpact.Medium, $"{ToPrettyString(event2.User):player} changed {ToPrettyString(uid):entity}'s node to {edge.Target}");
|
||||
_adminLogger.Add(LogType.Construction, LogImpact.Low, $"{ToPrettyString(event2.User):player} changed {ToPrettyString(uid):entity}'s node to {edge.Target}");
|
||||
}
|
||||
|
||||
return HandleResult.True;
|
||||
|
||||
Reference in New Issue
Block a user