mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
[MIRROR] Fixes malf camera upgrade appearing on security camera consoles [MDB IGNORE] (#19870)
* Fixes malf camera upgrade appearing on security camera consoles (#73970) ## About The Pull Request Wow that was easier than I thought Malf AI camera upgrade no longer shows up camera consoles. Advanced Camera consoles probably still show it but those are harder to get so someone else can fix those ## Why It's Good For The Game It is admittedly very funny to instantly valid a malf ai but probably not fun ## Changelog 🆑 Melbert fix: Malf AI's xray camera upgrade no longer shows on station security camera consoles /🆑 * Fixes malf camera upgrade appearing on security camera consoles --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
last_camera_turf = new_cam_turf
|
||||
|
||||
//Here we gather what's visible from the camera's POV based on its view_range and xray modifier if present
|
||||
var/list/visible_things = active_camera.isXRay() ? range(active_camera.view_range, new_cam_turf) : view(active_camera.view_range, new_cam_turf)
|
||||
var/list/visible_things = active_camera.isXRay(ignore_malf_upgrades = TRUE) ? range(active_camera.view_range, new_cam_turf) : view(active_camera.view_range, new_cam_turf)
|
||||
|
||||
for(var/turf/visible_turf in visible_things)
|
||||
visible_turfs += visible_turf
|
||||
|
||||
Reference in New Issue
Block a user