mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user