Adds logging to stripping and construction starting (#11952)

This commit is contained in:
Júlio César Ueti
2022-10-16 03:32:00 -03:00
committed by GitHub
parent bd44887a87
commit 137e79ee4c
4 changed files with 15 additions and 2 deletions

View File

@@ -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;