From: nikthechampiongr <32041239+nikthechampiongr@users.noreply.github.com> Date: Wed, 13 Mar 2024 22:46:41 +0000 (+0200) Subject: Add log when a player starts observing. (#26091) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=85e0a5328a28b02fc29575648cfa7421f5bfb410;p=space-station-14.git Add log when a player starts observing. (#26091) --- diff --git a/Content.Server/GameTicking/GameTicker.Spawning.cs b/Content.Server/GameTicking/GameTicker.Spawning.cs index 882d5e37d8..65de36cf80 100644 --- a/Content.Server/GameTicking/GameTicker.Spawning.cs +++ b/Content.Server/GameTicking/GameTicker.Spawning.cs @@ -338,6 +338,7 @@ namespace Content.Server.GameTicking _metaData.SetEntityName(ghost, name); _ghost.SetCanReturnToBody(ghost, false); _mind.TransferTo(mind.Value, ghost); + _adminLogger.Add(LogType.LateJoin, LogImpact.Low, $"{player.Name} late joined the round as an Observer with {ToPrettyString(ghost):entity}."); } #region Mob Spawning Helpers