From 4a93c96791eaaf5147e60d67f76d017f49cc17fc Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Thu, 28 Aug 2025 08:03:41 -0400 Subject: [PATCH] fix abductor surgery (#30302) --- code/modules/surgery/surgery.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/surgery/surgery.dm b/code/modules/surgery/surgery.dm index b0d3b5e881e..6e546150cdd 100644 --- a/code/modules/surgery/surgery.dm +++ b/code/modules/surgery/surgery.dm @@ -375,7 +375,7 @@ surgery.step_in_progress = FALSE return SURGERY_INITIATE_INTERRUPTED - if(HAS_TRAIT(tool, TRAIT_SURGICAL_CANNOT_FAIL)) + if(tool && HAS_TRAIT(tool, TRAIT_SURGICAL_CANNOT_FAIL)) prob_success = 100 // going to snowflake this in otherwise dissections fail repeatedtly with "proper" tools. var/chem_check_result = chem_check(target)