More runtime errors.

This commit is contained in:
Ghommie
2020-03-16 01:55:02 +01:00
parent 8af3d0e2fa
commit 5e5bdec85d
4 changed files with 12 additions and 9 deletions
+2
View File
@@ -319,6 +319,8 @@
on_mob.forceMove(scanning)
for(var/i in 1 to light_beam_distance)
scanning = get_step(scanning, scandir)
if(!scanning)
break
if(scanning.opacity || scanning.has_opaque_atom)
stop = TRUE
var/obj/effect/abstract/eye_lighting/L = LAZYACCESS(eye_lighting, i)