mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-07-18 19:54:32 +01:00
fix camera circuit
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user