]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix error during DB insert for explosion damage logs (#14265)
authorChief-Engineer <119664036+Chief-Engineer@users.noreply.github.com>
Sat, 25 Feb 2023 17:27:22 +0000 (11:27 -0600)
committerGitHub <noreply@github.com>
Sat, 25 Feb 2023 17:27:22 +0000 (04:27 +1100)
Content.Server/Explosion/EntitySystems/ExplosionSystem.Processing.cs

index 61195c2958353e6f899571e7866a5af38389b9c8..7f03e68aa4f9d9c5401312926924097a25fa26fa 100644 (file)
@@ -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}");
                 }
             }
         }