AI freelook stuff - should work perfectly now

Urist said that /tg/ people got some runtime errors, I have no idea what they got and I haven't got any errors in testing so yeah.
This commit is contained in:
Miniature
2011-12-05 15:08:52 +10:30
parent 5b15848a07
commit a7b2110194
3 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ var/datum/cameranet/cameranet = new()
/proc/checkcameravis(atom/A)
for(var/obj/machinery/camera/C in view(A,7))
if(!C.status)
if(!C.status || C.stat == 2)
continue
return 1
return 0