Skip to content

Commit

Permalink
resolve view issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mullenpaul committed Jan 28, 2024
1 parent 4453417 commit bbcc4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/camera_manager/camera_manager.dm
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
// Cameras that get here are moving, and are likely attached to some moving atom such as cyborgs.
last_camera_turf = get_turf(cam_location)

var/list/visible_things = current.isXRay() ? range("[target_width]x[target_height]", cam_location) : view("[target_width]x[target_height]", cam_location)
var/list/visible_things = current.isXRay() ? range(current.view_range, cam_location) : view(current.view_range, cam_location)
render_objects(visible_things)

/datum/component/camera_manager/proc/update_area_camera()
Expand Down

0 comments on commit bbcc4d1

Please sign in to comment.