From e9109552b2280805f61c9d8f5a02cd728d3f1aa9 Mon Sep 17 00:00:00 2001 From: Aurorablade Date: Fri, 16 Nov 2018 19:05:20 -0500 Subject: [PATCH] Added a forgotten return --- code/modules/mob/living/simple_animal/hostile/floorcluwne.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/hostile/floorcluwne.dm b/code/modules/mob/living/simple_animal/hostile/floorcluwne.dm index 76f08cdd409..04c6220f12d 100644 --- a/code/modules/mob/living/simple_animal/hostile/floorcluwne.dm +++ b/code/modules/mob/living/simple_animal/hostile/floorcluwne.dm @@ -151,8 +151,9 @@ if(specific) H = specific if((!H || H.stat == DEAD) && smiting)//safety check, target somehow DIED after we sent a smite - message_admins("Smiting Floor Cluwne was deleted due to a lack of valid target. Someone killed them first.") + message_admins("Smiting Floor Cluwne was deleted due to a lack of valid target. Someone killed them first, or they ceased to exist.") qdel(src) + return if(H.stat != DEAD && !isLivingSSD(H) && H.client && !H.get_int_organ(/obj/item/organ/internal/honktumor/cursed) && !is_type_in_typecache(get_area(H.loc), invalid_area_typecache)) current_victim = H return target = current_victim