diff --git a/Content.Shared/Damage/Components/DamageableComponent.cs b/Content.Shared/Damage/Components/DamageableComponent.cs index 82c87b802a..74388a6253 100644 --- a/Content.Shared/Damage/Components/DamageableComponent.cs +++ b/Content.Shared/Damage/Components/DamageableComponent.cs @@ -98,7 +98,7 @@ namespace Content.Shared.Damage var actual = EntitySystem.Get().TryChangeDamage(OwnerUid, damage); // should logging be disabled during rad storms? a lot of entities are going to be damaged. - if (actual != null) + if (actual != null && !actual.Empty) EntitySystem.Get().Add(LogType.Radiation, $"{Owner} took {actual.Total} radiation damage"); } @@ -123,7 +123,7 @@ namespace Content.Shared.Damage var actual = EntitySystem.Get().TryChangeDamage(OwnerUid, damage); // will logging handle nukes? - if (actual != null) + if (actual != null && !actual.Empty) EntitySystem.Get().Add(LogType.Explosion, $"{Owner} took {actual.Total} explosion damage"); } }