Merge pull request #10560 from PsiOmegaDelta/150812-CorrectTypeCheck

Prevents APC wires from being displayed to the AI.
This commit is contained in:
Chinsky
2015-08-12 20:38:34 +03:00

View File

@@ -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)