Skip to content

Commit

Permalink
whooops
Browse files Browse the repository at this point in the history
  • Loading branch information
zimon9 committed Jan 1, 2025
1 parent 8945b3c commit b08313c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@
// we don't need to update anything.
// Most security cameras will end here as they're not moving.
if(istype(active_camera, /obj/machinery/camera))
return
var/newturf = get_turf(cam_location)
if(last_camera_turf == newturf)
return

// Cameras that get here are moving, and are likely attached to some moving atom such as cyborgs.
last_camera_turf = get_turf(cam_location)
Expand Down

0 comments on commit b08313c

Please sign in to comment.