TS gibbing %chance fix

This commit is contained in:
Kyep
2020-09-08 16:12:30 -07:00
parent 7ee337b9e6
commit ce24ec0742
@@ -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("<span class='notice'>\The dead body of the [src] decomposes!</span>")