Fix for AI turret control.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3380 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2012-03-31 07:38:18 +00:00
parent 1e6c18596b
commit 5d5308fdca

View File

@@ -384,7 +384,7 @@
if (!istype(usr, /mob/living/silicon))
usr << "Control panel is locked!"
return
if ( get_dist(src, usr) == 0 )
if ( get_dist(src, usr) == 0 || issilicon(usr))
if (href_list["toggleOn"])
src.enabled = !src.enabled
src.updateTurrets()