Fixes a machine analyzer runtime (#27143)

* machine analyzer runtime

* renaming

* comment

* the correct fix
This commit is contained in:
Henri215
2024-10-28 11:53:13 +00:00
committed by GitHub
parent c554a76123
commit 1fea7d1791
@@ -389,6 +389,8 @@ SLIME SCANNER
to_chat(user, chat_box_healthscan(msgs.Join("<br>")))
/obj/item/robotanalyzer/attack_obj(obj/machinery/M, mob/living/user) // Scanning a machine object
if(!ismachinery(M))
return
if((HAS_TRAIT(user, TRAIT_CLUMSY) || user.getBrainLoss() >= 60) && prob(50))
handle_clumsy(user)
return