Now uses isturf

This commit is contained in:
Kelenius
2014-07-13 15:21:12 -04:00
committed by ZomgPonies
parent a0609d0ce7
commit a552662bec
@@ -86,7 +86,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.