Allows fixing of augments inside organic body parts. (#9392)

This commit is contained in:
mikomyazaki
2020-07-19 11:10:53 +02:00
committed by GitHub
parent 4c7b9a6458
commit 2af9d4c4d8
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -216,7 +216,7 @@
if(I.damage > 0 && I.robotic >= 2)
is_organ_damaged = 1
break
return affected.open == 3 && is_organ_damaged
return is_organ_damaged && affected.open == (BP_IS_ROBOTIC(affected) ? 3 : 2)
/datum/surgery_step/robotics/fix_organ_robotic/begin_step(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
if(!ishuman(target))
@@ -0,0 +1,6 @@
author: mikomyazaki
delete-after: True
changes:
- bugfix: "You can now properly repair augments that are inside organic body parts, similarly to ones inside robotic body parts."