Fixes some oversights from the organ refactor (#26071)

Hella
This commit is contained in:
Waterpig
2024-01-12 02:59:09 +01:00
committed by GitHub
parent 0efd090cbb
commit 8593e192ab
3 changed files with 3 additions and 3 deletions
@@ -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)
@@ -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
@@ -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))