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

This commit is contained in:
nikthechampiongr
2024-03-14 00:46:41 +02:00
committed by GitHub
parent 91aa644571
commit 85e0a5328a

View File

@@ -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