From 0f81f384694a699a941d6b667307345648a7c4ae Mon Sep 17 00:00:00 2001 From: Waselon Date: Sun, 8 Sep 2024 11:01:44 +0300 Subject: [PATCH] fix --- code/modules/mob/living/carbon/human/death.dm | 4 +--- code/modules/organs/limbs.dm | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/human/death.dm b/code/modules/mob/living/carbon/human/death.dm index e243284b25b..d6a9e227952 100644 --- a/code/modules/mob/living/carbon/human/death.dm +++ b/code/modules/mob/living/carbon/human/death.dm @@ -48,9 +48,7 @@ /mob/living/carbon/human/death(gibbing, deathmessage, silent, special_death_message) if(stat == DEAD) -//RUTGMC EDIT - species.handle_death(src, gibbing) -//RUTGMC EDIT + species?.handle_death(src, gibbing) return ..() if(species.death_message) deathmessage = species.death_message diff --git a/code/modules/organs/limbs.dm b/code/modules/organs/limbs.dm index 84fe689a4c8..12b3e0676ea 100644 --- a/code/modules/organs/limbs.dm +++ b/code/modules/organs/limbs.dm @@ -678,7 +678,7 @@ Note that amputating the affected organ does in fact remove the infection from t else set_limb_flags(LIMB_DESTROYED) - if(owner.species.species_flags & ROBOTIC_LIMBS) + if(owner?.species?.species_flags & ROBOTIC_LIMBS) limb_status |= LIMB_ROBOT for(var/i in implants)