Add more pretty strings to logs (#5768)
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Content.Server.Chemistry.EntitySystems
|
||||
var coordinates = Transform(Owner).Coordinates;
|
||||
|
||||
_logSystem.Add(LogType.ChemicalReaction, reaction.Impact,
|
||||
$"Chemical reaction {reaction.ID} occurred with strength {unitReactions:strength} on entity {ToPrettyString(Owner)} at {coordinates}");
|
||||
$"Chemical reaction {reaction.ID:reaction} occurred with strength {unitReactions:strength} on entity {ToPrettyString(Owner):metabolizer} at {coordinates}");
|
||||
|
||||
SoundSystem.Play(Filter.Pvs(Owner, entityManager:EntityManager), reaction.Sound.GetSound(), Owner);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user