From 7c219d81f26fbf08c367546b3ad98e7fe067712e Mon Sep 17 00:00:00 2001 From: Theos Date: Fri, 27 Sep 2024 19:17:14 -0400 Subject: [PATCH] Fixes some stuff with legion infections (#3450) ## About The Pull Request homeless skulls no longer complain about not being fed ## Why It's Good For The Game ## Changelog :cl: fix: legion skulls will no longer check if they should rise up and consume their owner if they are ownerless /:cl: Signed-off-by: Theos --- .../mob/living/simple_animal/hostile/mining_mobs/hivelord.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm index b7ca291a5be46..bd9133ffce20f 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm @@ -297,6 +297,8 @@ /// track our timers and reagents /obj/item/organ/legion_skull/proc/skull_check() + if(!owner) + return if(!malignance) malignance = new() malignance.infect(owner, FALSE)