fix camera circuit

This commit is contained in:
SandPoot
2024-01-09 16:34:33 -03:00
parent 53c3850688
commit 6183d05fd5
3 changed files with 13 additions and 11 deletions
@@ -144,8 +144,8 @@
var/list/visible_turfs = list()
// Is this camera located in or attached to a living thing? If so, assume the camera's loc is the living thing.
var/cam_location = isliving(active_camera.loc) ? active_camera.loc : active_camera
// Need to get camera's location or it
var/cam_location = get_atom_on_turf(active_camera)
// If we're not forcing an update for some reason and the cameras are in the same location,
// we don't need to update anything.