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
@@ -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",