Merge pull request #12950 from phil235/AIMechStunFix

Fixes flashbanged mmis in mechs losing access to most mech functions
This commit is contained in:
duncathan salt
2015-11-11 16:34:24 -06:00
5 changed files with 21 additions and 4 deletions
@@ -114,8 +114,8 @@
else
outmsg = "<span class='warning'>You fail to blind [C] by shining [src] at their eyes!</span>"
//robots and AI
else if(issilicon(target))
//robots
else if(isrobot(target))
var/mob/living/silicon/S = target
//20% chance to actually hit the sensors
if(prob(effectchance * diode.rating))