Fixes camera lights not updating during tracking (#19352)

* Fixed camera lights not updating during tracking

* Don't need to call light_cameras() twice
This commit is contained in:
Pathid
2018-08-17 04:23:46 -07:00
committed by DamianX
parent d3e0d772d6
commit d6a67266e3

View File

@@ -36,6 +36,9 @@
var/obj/machinery/hologram/holopad/H = ai.current
H.move_hologram()
if(ai.camera_light_on)
ai.light_cameras()
/mob/camera/aiEye/Move(NewLoc, Dir = 0, step_x = 0, step_y = 0, glide_size_override = 0)
return 0
@@ -110,8 +113,6 @@
//user.unset_machine() //Uncomment this if it causes problems.
//user.lightNearbyCamera()
if (user.camera_light_on)
user.light_cameras()
/mob/living/silicon/ai/proc/view_core()