[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 <esainane+github@gmail.com>
This commit is contained in:
SkyratBot
2021-11-17 22:29:30 +00:00
committed by GitHub
parent 2efbedd027
commit 2c8a1d7905
+1 -1
View File
@@ -119,7 +119,7 @@ GLOBAL_LIST_EMPTY(dirty_vars)
output += "<li><font color='red'>FULLY overlapping cameras at [ADMIN_VERBOSEJMP(C1)] Networks: [json_encode(C1.network)] and [json_encode(C2.network)]</font></li>"
if(C1.loc == C2.loc)
output += "<li>Overlapping cameras at [ADMIN_VERBOSEJMP(C1)] Networks: [json_encode(C1.network)] and [json_encode(C2.network)]</li>"
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