Fixes fly infusion deleting the last infused organ upon activation (#92267)

## About The Pull Request

Closes #92234

## Changelog
🆑
fix: Fixed fly infusion deleting the last infused organ upon activation
/🆑
This commit is contained in:
SmArtKar
2025-08-04 20:53:28 -04:00
committed by Roxy
parent 3c0cb7bddb
commit 064826e87b
7 changed files with 34 additions and 17 deletions
@@ -578,13 +578,13 @@
bonus_deactivate_text = span_notice("You can no longer force open airlocks with your bare hands.")
required_biotype = NONE
/datum/status_effect/organ_set_bonus/strongarm/enable_bonus()
/datum/status_effect/organ_set_bonus/strongarm/enable_bonus(obj/item/organ/inserted_organ)
. = ..()
if(!.)
return
owner.AddElement(/datum/element/door_pryer, pry_time = 6 SECONDS, interaction_key = DOAFTER_SOURCE_STRONGARM_INTERACTION)
/datum/status_effect/organ_set_bonus/strongarm/disable_bonus()
/datum/status_effect/organ_set_bonus/strongarm/disable_bonus(obj/item/organ/removed_organ)
. = ..()
owner.RemoveElement(/datum/element/door_pryer, pry_time = 6 SECONDS, interaction_key = DOAFTER_SOURCE_STRONGARM_INTERACTION)
@@ -144,6 +144,8 @@
if(bodypart_overlay)
limb.add_bodypart_overlay(bodypart_overlay)
SEND_SIGNAL(src, COMSIG_ORGAN_BODYPART_INSERTED, limb, movement_flags)
/*
* Remove the organ from the select mob.
*