Add more pretty strings to logs (#5768)
This commit is contained in:
@@ -119,7 +119,7 @@ namespace Content.Server.Light.EntitySystems
|
||||
|
||||
if (damage != null)
|
||||
_logSystem.Add(LogType.Damaged,
|
||||
$"{args.User} burned their hand on {args.Target} and received {damage.Total} damage");
|
||||
$"{ToPrettyString(args.User):user} burned their hand on {ToPrettyString(args.Target):target} and received {damage.Total:damage} damage");
|
||||
|
||||
SoundSystem.Play(Filter.Pvs(uid), light.BurnHandSound.GetSound(), uid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user