Add welder toggle logs (#13303)

This commit is contained in:
Chief-Engineer
2023-01-20 10:05:05 -06:00
committed by GitHub
parent c925505ca1
commit d6228d7a4c
3 changed files with 22 additions and 1 deletions

View File

@@ -870,7 +870,8 @@ namespace Content.Shared.Interaction
DoContactInteraction(user, used, activateMsg);
_useDelay.BeginDelay(used, delayComponent);
_adminLogger.Add(LogType.InteractActivate, LogImpact.Low, $"{ToPrettyString(user):user} activated {ToPrettyString(used):used}");
if (!activateMsg.WasLogged)
_adminLogger.Add(LogType.InteractActivate, LogImpact.Low, $"{ToPrettyString(user):user} activated {ToPrettyString(used):used}");
return true;
}
#endregion