Now uses isturf

This commit is contained in:
Kelenius
2014-07-03 20:30:29 +04:00
parent 09f2699f42
commit ec3d8164a8
@@ -61,7 +61,7 @@
var/mob/living/silicon/ai/AI = usr
if(AI.eyeobj && AI.client.eye == AI.eyeobj)
AI.cameraFollow = null
if (src.loc)
if (isturf(src.loc) || isturf(src))
AI.eyeobj.setLoc(src)
// This will move the AIEye. It will also cause lights near the eye to light up, if toggled.