Skip to content

Commit

Permalink
Fixes prosthetic quirk dropping organs underneath you when spawning (t…
Browse files Browse the repository at this point in the history
…gstation#86533)

## About The Pull Request
Closes tgstation#86524
Insert does not return a value, ran a regex and nothing else seems to
have had this mistake

## Changelog
:cl:
fix: Fixed prosthetic quirk dropping organs underneath you when spawning
/:cl:
  • Loading branch information
SmArtKar authored Sep 8, 2024
1 parent c9b8865 commit 5ed0665
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/datums/quirks/negative_quirks/prosthetic_organ.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
medical_record_text = "During physical examination, patient was found to have a low-budget prosthetic [slot_string]. \
Removal of these organs is known to be dangerous to the patient as well as the practitioner."
old_organ = human_holder.get_organ_slot(organ_slot)
if(prosthetic.Insert(human_holder, special = TRUE))
old_organ.moveToNullspace()
STOP_PROCESSING(SSobj, old_organ)
prosthetic.Insert(human_holder, special = TRUE)
old_organ.moveToNullspace()
STOP_PROCESSING(SSobj, old_organ)

/datum/quirk/prosthetic_organ/post_add()
to_chat(quirk_holder, span_boldannounce("Your [slot_string] has been replaced with a surplus organ. It is weak and highly unstable. \
Expand Down

0 comments on commit 5ed0665

Please sign in to comment.