Skip to content

Commit

Permalink
[MIRROR] Fix runtimes when using sharp objects on head organs
Browse files Browse the repository at this point in the history
  • Loading branch information
SierraKomodo authored and SuhEugene committed Jan 8, 2024
1 parent 08019a1 commit 29856be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/organs/external/_external.dm
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,9 @@
var/obj/item/removing = pick(organs)
var/obj/item/organ/external/current_child = removing.loc

current_child.implants.Remove(removing)
current_child.internal_organs.Remove(removing)
if (istype(current_child))
current_child.implants.Remove(removing)
current_child.internal_organs.Remove(removing)

status |= ORGAN_CUT_AWAY
if(istype(removing, /obj/item/organ/internal/mmi_holder))
Expand Down

0 comments on commit 29856be

Please sign in to comment.