From b0fd0f37b646ca20ae1bd0ac572f52ec07e633ca Mon Sep 17 00:00:00 2001 From: esainane Date: Thu, 18 Nov 2021 11:07:46 +1300 Subject: [PATCH] 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. --- 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