Add log when a player starts observing. (#26091)
This commit is contained in:
@@ -338,6 +338,7 @@ namespace Content.Server.GameTicking
|
|||||||
_metaData.SetEntityName(ghost, name);
|
_metaData.SetEntityName(ghost, name);
|
||||||
_ghost.SetCanReturnToBody(ghost, false);
|
_ghost.SetCanReturnToBody(ghost, false);
|
||||||
_mind.TransferTo(mind.Value, ghost);
|
_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
|
#region Mob Spawning Helpers
|
||||||
|
|||||||
Reference in New Issue
Block a user