From 1b7b69306ca9983d1ab9aef6b2c87fc0074eecc5 Mon Sep 17 00:00:00 2001 From: PsiOmegaDelta Date: Wed, 12 Aug 2015 13:33:51 +0200 Subject: [PATCH] Prevents APC wires from being displayed to the AI. Restores and makes the mob type check more specific. Fixes #10559. --- code/modules/power/apc.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm index 8b6771dff3..319de5f4a3 100644 --- a/code/modules/power/apc.dm +++ b/code/modules/power/apc.dm @@ -738,7 +738,7 @@ if(!user) return - if(wiresexposed /*&& (!istype(user, /mob/living/silicon))*/) //Commented out the typecheck to allow engiborgs to repair damaged apcs. + if(wiresexposed && !istype(user, /mob/living/silicon/ai)) wires.Interact(user) return ui_interact(user)