Improve construction logs (#13146)

This commit is contained in:
Chief-Engineer
2023-01-20 10:17:57 -06:00
committed by GitHub
parent c2444fd35d
commit 6f58f5a36c
4 changed files with 15 additions and 2 deletions

View File

@@ -490,7 +490,7 @@ namespace Content.Server.Construction
EntityManager.GetComponent<TransformComponent>(structure).Anchored = wasAnchored;
RaiseNetworkEvent(new AckStructureConstructionMessage(ev.Ack));
_adminLogger.Add(LogType.Construction, LogImpact.Low, $"{ToPrettyString(user):player} has started construction on the ghost of a {ev.PrototypeName}");
_adminLogger.Add(LogType.Construction, LogImpact.Low, $"{ToPrettyString(user):player} has turned a {ev.PrototypeName} construction ghost into {ToPrettyString(structure)} at {Transform(structure).Coordinates}");
Cleanup();
}
}