From 2c8a1d7905301ddbb20119e12432a74e6b6ee01e Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 17 Nov 2021 22:29:30 +0000 Subject: [PATCH] [MIRROR] Fix Camera Report verb [MDB IGNORE] (#9525) * Admin: Fix Camera Report verb (#62866) There is still the potential for false positives since the way diagonal cameras were made didn't exactly line up with where their direction was. However, this brings functionality back to parity with before the dir-sanity PR. * Fix Camera Report verb Co-authored-by: esainane --- code/modules/admin/verbs/mapping.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/mapping.dm b/code/modules/admin/verbs/mapping.dm index 2f784e28172..4015bfcdc19 100644 --- a/code/modules/admin/verbs/mapping.dm +++ b/code/modules/admin/verbs/mapping.dm @@ -119,7 +119,7 @@ GLOBAL_LIST_EMPTY(dirty_vars) output += "
  • FULLY overlapping cameras at [ADMIN_VERBOSEJMP(C1)] Networks: [json_encode(C1.network)] and [json_encode(C2.network)]
  • " if(C1.loc == C2.loc) output += "
  • Overlapping cameras at [ADMIN_VERBOSEJMP(C1)] Networks: [json_encode(C1.network)] and [json_encode(C2.network)]
  • " - var/turf/T = get_step(C1,turn(C1.dir,180)) + var/turf/T = get_step(C1,C1.dir) if(!T || !isturf(T) || !T.density ) if(!(locate(/obj/structure/grille) in T)) var/window_check = 0