Add log when a player starts observing. (#26091)

(cherry picked from commit 85e0a5328a28b02fc29575648cfa7421f5bfb410)
This commit is contained in:
nikthechampiongr 2024-03-14 00:46:41 +02:00 committed by Debug
parent c7ea45da59
commit 29582a48dc
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
1 changed files with 1 additions and 0 deletions

View File

@ -346,6 +346,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