From 8593e192abbff6fab4eea2c85a99df2faaae08c7 Mon Sep 17 00:00:00 2001 From: Waterpig <49160555+Majkl-J@users.noreply.github.com> Date: Fri, 12 Jan 2024 02:59:09 +0100 Subject: [PATCH] Fixes some oversights from the organ refactor (#26071) Hella --- .../master_files/code/modules/client/preferences/brain.dm | 2 +- .../modules/customization/modules/client/augment/limbs.dm | 2 +- modular_skyrat/modules/synths/code/bodyparts/brain.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modular_skyrat/master_files/code/modules/client/preferences/brain.dm b/modular_skyrat/master_files/code/modules/client/preferences/brain.dm index 516e72f6c86..5f515577c8a 100644 --- a/modular_skyrat/master_files/code/modules/client/preferences/brain.dm +++ b/modular_skyrat/master_files/code/modules/client/preferences/brain.dm @@ -27,7 +27,7 @@ new_brain.modular_persistence = old_brain.modular_persistence old_brain.modular_persistence = null - new_brain.on_mob_insert(target, movement_flags = DELETE_IF_REPLACED) + new_brain.Insert(target, movement_flags = DELETE_IF_REPLACED) // Prefs can be applied to mindless mobs, let's not try to move the non-existent mind back in! if(!keep_me_safe) diff --git a/modular_skyrat/modules/customization/modules/client/augment/limbs.dm b/modular_skyrat/modules/customization/modules/client/augment/limbs.dm index 3d855176497..d8c68d5e873 100644 --- a/modular_skyrat/modules/customization/modules/client/augment/limbs.dm +++ b/modular_skyrat/modules/customization/modules/client/augment/limbs.dm @@ -31,7 +31,7 @@ var/chosen_style = GLOB.robotic_styles_list[prefs.augment_limb_styles[slot]] new_limb.set_icon_static(chosen_style) new_limb.current_style = prefs.augment_limb_styles[slot] - new_limb.replace_limb(augmented) + new_limb.replace_limb(augmented, special = TRUE) qdel(old_limb) //HEADS diff --git a/modular_skyrat/modules/synths/code/bodyparts/brain.dm b/modular_skyrat/modules/synths/code/bodyparts/brain.dm index e734cb29d57..c8554651e58 100644 --- a/modular_skyrat/modules/synths/code/bodyparts/brain.dm +++ b/modular_skyrat/modules/synths/code/bodyparts/brain.dm @@ -10,7 +10,7 @@ /// The last time (in ticks) a message about brain damage was sent. Don't touch. var/last_message_time = 0 -/obj/item/organ/internal/brain/synth/on_mob_insert(mob/living/carbon/brain_owner, movement_flags = NO_ID_TRANSFER) +/obj/item/organ/internal/brain/synth/on_mob_insert(mob/living/carbon/brain_owner, special, movement_flags = NO_ID_TRANSFER) . = ..() if(brain_owner.stat != DEAD || !ishuman(brain_owner))