mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user