Skip to content

Commit

Permalink
Fix condition to check if owner exists in limbs.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Nov 20, 2023
1 parent 9e45fbc commit fcff646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/organs/limbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ This function completely restores a damaged organ to perfect condition.
else
body_type = "mesomorphic"

if(isspeciesyautja(owner))
if(owner && isspeciesyautja(owner))
ethnicity = owner.ethnicity
body_type = owner.body_type

Expand Down

0 comments on commit fcff646

Please sign in to comment.