From 85e0a5328a28b02fc29575648cfa7421f5bfb410 Mon Sep 17 00:00:00 2001 From: nikthechampiongr <32041239+nikthechampiongr@users.noreply.github.com> Date: Thu, 14 Mar 2024 00:46:41 +0200 Subject: [PATCH] Add log when a player starts observing. (#26091) --- Content.Server/GameTicking/GameTicker.Spawning.cs | 1 + 1 file changed, 1 insertion(+) 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 -- 2.51.2