Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Waselon committed Sep 8, 2024
1 parent a9c70ec commit 0f81f38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions code/modules/mob/living/carbon/human/death.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/modules/organs/limbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0f81f38

Please sign in to comment.