From d540f421f49352fa0ff1102006e3b5333803310d Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Thu, 7 Sep 2023 05:06:40 -0500 Subject: [PATCH] Prevents blood from attempting to dry if said blood no longer exists (#22174) --- code/game/objects/effects/decals/Cleanable/humans.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/effects/decals/Cleanable/humans.dm b/code/game/objects/effects/decals/Cleanable/humans.dm index 98ca3badcda..d049d275c93 100644 --- a/code/game/objects/effects/decals/Cleanable/humans.dm +++ b/code/game/objects/effects/decals/Cleanable/humans.dm @@ -44,7 +44,7 @@ GLOBAL_LIST_EMPTY(splatter_cache) //weightless blood cannot dry return - if(!.) + if(!. && !QDELETED(src)) dry_timer = addtimer(CALLBACK(src, PROC_REF(dry)), DRYING_TIME * (amount+1), TIMER_STOPPABLE) /obj/effect/decal/cleanable/blood/Destroy()