mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Small fix to recent Posibrain changes (#5908)
## About The Pull Request Quick PR to fix a oversight and a few bugs, thanks artur. ## Why It's Good For The Game Oversight and bug fix = good ## Proof Of Testing works on my machine ## Changelog 🆑 fix: Fixes your brain falling out as a synth when choosing circuit or MMI /🆑 --------- Co-authored-by: Artur Lang <24881678+Arturlang@users.noreply.github.com>
This commit is contained in:
co-authored by
Artur Lang
parent
dafce56eb8
commit
e962965c1b
@@ -205,8 +205,12 @@
|
||||
|
||||
/datum/surgery_operation/limb/organ_manipulation/proc/on_success_insert_organ(obj/item/bodypart/limb, mob/living/surgeon, obj/item/organ/organ)
|
||||
//Bubber Edit Start, Checks if the type attempted to be inserted is a positronic or not
|
||||
if(istype(organ, /obj/item/mmi/posibrain))
|
||||
if(istype(organ, /obj/item/mmi))
|
||||
organ = new /obj/item/organ/brain/synth/mmi(null, organ)
|
||||
else if(istype(organ, /obj/item/mmi/posibrain))
|
||||
organ = new /obj/item/organ/brain/synth(null, organ)
|
||||
else if(istype(organ, /obj/item/mmi/posibrain/circuit))
|
||||
organ = new /obj/item/organ/brain/synth/circuit(null, organ)
|
||||
//Bubber Edit End
|
||||
surgeon.temporarilyRemoveItemFromInventory(organ, TRUE)
|
||||
organ.pre_surgical_insertion(surgeon, limb, limb.body_zone)
|
||||
|
||||
Reference in New Issue
Block a user