Fix prisoner implant z-level checking.

- Can no longer hide in a locker from prisoner computer tracking
- locator no longer tracks implanted people across z-levels
This commit is contained in:
moxian
2019-11-09 10:17:41 +00:00
parent 8b9f663203
commit 1d0b84addb
2 changed files with 5 additions and 4 deletions
@@ -70,9 +70,10 @@ Frequency:
for(var/obj/item/implant/tracking/T in GLOB.tracked_implants)
if(!T.implanted || !T.imp_in)
continue
var/turf/Tr = get_turf(T)
if(T && T.z == z)
temp += "[T.id]: [T.imp_in.x], [T.imp_in.y], [T.imp_in.z]<BR>"
if(Tr && Tr.z == sr.z)
temp += "[T.id]: [Tr.x], [Tr.y], [Tr.z]<BR>"
temp += "<B>You are at \[[sr.x],[sr.y],[sr.z]\]</B>."
temp += "<BR><BR><A href='byond://?src=[UID()];refresh=1'>Refresh</A><BR>"