Skip to content

Commit

Permalink
fix(surgery): fix advanced fixers not working
Browse files Browse the repository at this point in the history
PR #10824
- Теперь операции с орган фиксерами работают.
  • Loading branch information
intercepti0n authored Oct 30, 2023
1 parent 2cd301a commit 90132d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/datums/surgery/steps/internal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,9 @@
/datum/surgery_step/internal/fix_organ/multiple/pick_target_organ(atom/user, mob/living/carbon/human/target, target_zone)
return target.get_organ(target_zone)

/datum/surgery_step/internal/fix_organ/multiple/check_target_organ(obj/item/organ/target_organ, mob/living/carbon/human/target, obj/item/tool, atom/user)
return istype(target_organ)

/datum/surgery_step/internal/fix_organ/multiple/initiate(obj/item/organ/external/parent_organ, obj/item/organ/target_organ, mob/living/carbon/human/target, obj/item/tool, mob/user)
announce_preop(user,
"[user] starts treating damage to [target]'s [parent_organ] with \the [tool].",
Expand Down

0 comments on commit 90132d5

Please sign in to comment.