fix overlay bug

This commit is contained in:
Janet Blackquill
2025-10-11 00:38:20 -04:00
parent d5c15bbb7b
commit ab5480d22d

View File

@@ -191,7 +191,7 @@ public sealed class DamageOverlay : Overlay
level = _oldPainLevel;
// TODO: Lerping
if ((level > 0f && _oldCritLevel <= 0f) || AlwaysRenderAll) // Offbrand
if (level > 0f && (_oldCritLevel <= 0f || AlwaysRenderAll)) // Offbrand
{
var pulseRate = 3f;
var adjustedTime = time * pulseRate;