Add more pretty strings to logs (#5768)
This commit is contained in:
@@ -58,7 +58,7 @@ namespace Content.Server.Damage.Systems
|
||||
var dmg = _damageableSystem.TryChangeDamage(uid, component.Damage * damageScale);
|
||||
|
||||
if (dmg != null)
|
||||
_logSystem.Add(LogType.Damaged, $"{component.Owner} took {dmg.Total} damage from a high speed collision");
|
||||
_logSystem.Add(LogType.Damaged, $"{ToPrettyString(component.Owner):entity} took {dmg.Total:damage} damage from a high speed collision");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user