Skip to content

Commit

Permalink
Add log when a player starts observing. (#26091)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikthechampiongr authored and DangerRevolution committed Mar 20, 2024
1 parent af01779 commit 09d5eb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Content.Server/GameTicking/GameTicker.Spawning.cs
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ public void SpawnObserver(ICommonSession player)
_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
Expand Down

0 comments on commit 09d5eb9

Please sign in to comment.