From: Chief-Engineer <119664036+Chief-Engineer@users.noreply.github.com> Date: Sat, 25 Feb 2023 17:27:22 +0000 (-0600) Subject: Fix error during DB insert for explosion damage logs (#14265) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=0d6f64e6d09777210032902ee30006fed610ab59;p=space-station-14.git Fix error during DB insert for explosion damage logs (#14265) --- diff --git a/Content.Server/Explosion/EntitySystems/ExplosionSystem.Processing.cs b/Content.Server/Explosion/EntitySystems/ExplosionSystem.Processing.cs index 61195c2958..7f03e68aa4 100644 --- a/Content.Server/Explosion/EntitySystems/ExplosionSystem.Processing.cs +++ b/Content.Server/Explosion/EntitySystems/ExplosionSystem.Processing.cs @@ -396,7 +396,7 @@ public sealed partial class ExplosionSystem : EntitySystem { var damageStr = string.Join(", ", damage.DamageDict.Select(entry => $"{entry.Key}: {entry.Value}")); _adminLogger.Add(LogType.Explosion, LogImpact.Medium, - $"Explosion caused {{{damageStr}}} to {ToPrettyString(uid):target} at {Transform(uid).Coordinates}"); + $"Explosion caused [{damageStr}] to {ToPrettyString(uid):target} at {Transform(uid).Coordinates}"); } } else @@ -407,7 +407,7 @@ public sealed partial class ExplosionSystem : EntitySystem { var damageStr = string.Join(", ", appliedDamage.DamageDict.Select(entry => $"{entry.Key}: {entry.Value}")); _adminLogger.Add(LogType.Explosion, LogImpact.Medium, - $"Explosion caused {{{damageStr}}} to {ToPrettyString(uid):target} at {Transform(uid).Coordinates}"); + $"Explosion caused [{damageStr}] to {ToPrettyString(uid):target} at {Transform(uid).Coordinates}"); } } }