Replaces instances of ARE_Z_CONNECTED with AreConnectedZLevels and removes ARE_Z_CONNECTED (#10466)

This commit is contained in:
mikomyazaki
2020-11-07 18:30:02 +00:00
committed by GitHub
parent 2fd1c3eca2
commit 580519c7a0
5 changed files with 5 additions and 8 deletions

View File

@@ -75,7 +75,7 @@
continue
var/turf/AT = get_turf(A)
if(AT && ARE_Z_CONNECTED(AT.z, p.z))
if(AT && AreConnectedZLevels(AT.z, p.z))
dir = dir2text(get_dir(p, AT))
if(!dir)
dir = "ERR"

View File

@@ -47,7 +47,7 @@
if(!istype(P) || !P.gun)
continue
var/turf/Ts = get_turf(P)
if(ARE_Z_CONNECTED(T.z, Ts.z))
if(AreConnectedZLevels(T.z, Ts.z))
var/list/guntracker_info = list(
"gun_name" = capitalize_first_letters(P.gun.name),
"registered_info" = P.registered_user ? P.registered_user : "Unregistered",