Skip to content

Commit 9a8d1bd

Browse files
authored
Fixing Nanopaste for prosthetic organs (#9142)
* Fixes Nanopaste * ok * paren fix * debugging removed
1 parent 66d15bd commit 9a8d1bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/modules/surgery/robotics.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
if(I.damage > 0 && (I.robotic >= ORGAN_ROBOT))
253253
is_organ_damaged = 1
254254
break
255-
return affected.open == 3 && is_organ_damaged
255+
return affected.open == (affected.encased ? 3 : 2) && is_organ_damaged
256256

257257
/datum/surgery_step/robotics/fix_organ_robotic/begin_step(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
258258
if (!hasorgans(target))

0 commit comments

Comments
 (0)