Fix cauterization spam from space damage (#32080)

This commit is contained in:
themias
2024-09-11 12:05:54 -04:00
committed by GitHub
parent 01713acf58
commit f2f76f711d
2 changed files with 8 additions and 1 deletions

View File

@@ -241,7 +241,7 @@ public sealed class BloodstreamSystem : EntitySystem
}
// Heat damage will cauterize, causing the bleed rate to be reduced.
else if (totalFloat < 0 && oldBleedAmount > 0)
else if (totalFloat <= ent.Comp.BloodHealedSoundThreshold && oldBleedAmount > 0)
{
// Magically, this damage has healed some bleeding, likely
// because it's burn damage that cauterized their wounds.