From 8eecf5ea9a7a4de7f2dfcc61d16dfba2f5c779c9 Mon Sep 17 00:00:00 2001 From: Theos Date: Fri, 27 Sep 2024 19:48:33 -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 ad60507dc863..ca204efb7ce2 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 @@ -313,6 +313,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)