From ce24ec0742d08e471d94f33a6700ca06056a3855 Mon Sep 17 00:00:00 2001 From: Kyep Date: Tue, 8 Sep 2020 16:12:30 -0700 Subject: [PATCH] TS gibbing %chance fix --- .../simple_animal/hostile/terror_spiders/terror_spiders.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_spiders.dm b/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_spiders.dm index 520143d71d0..2805ba2ede3 100644 --- a/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_spiders.dm +++ b/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_spiders.dm @@ -297,8 +297,10 @@ GLOBAL_LIST_EMPTY(ts_spiderling_list) return ..() /mob/living/simple_animal/hostile/poison/terror_spider/Life(seconds, times_fired) - . = ..() - if(!.) // if mob is dead + if(QDELETED(src)) + return + ..() + if(stat == DEAD) // Can't use if(.) for this due to the fact it can sometimes return FALSE even when mob is alive. if(prob(2)) // 2% chance every cycle to decompose visible_message("\The dead body of the [src] decomposes!")