diff --git a/medical/module/medical_wound.zsc b/medical/module/medical_wound.zsc index 8b58b2c..37f4489 100644 --- a/medical/module/medical_wound.zsc +++ b/medical/module/medical_wound.zsc @@ -261,7 +261,8 @@ extend class UaS_Wound { BP.Flags = SPF_REPLACE; BP.FadeStep = 0; BP.Style = STYLE_Normal; - BP.StartAlpha = min(1, max((depth/width), 0.3)); + if (width > 0.) { BP.StartAlpha = min(1, max((depth / width), 0.3)); } + else { BP.StartAlpha = 0.3; } level.SpawnParticle(BP); // Do appearing and drops running down body