From 12233bfbcaaeace6959bf848ce38fe2ba37bdaa9 Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Thu, 18 Aug 2022 23:32:31 -0700 Subject: [PATCH] Fix infinite blood trails --- code/modules/mob/living/living.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index 779e949f79..be6508dd96 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -709,6 +709,8 @@ var/bleed_amount = bleedDragAmount() blood_volume = max(blood_volume - bleed_amount, 0) //that depends on our brute damage. + if(bleed_amount < 0.1) + return var/newdir = get_dir(target_turf, start) if(newdir != direction) newdir = newdir | direction