mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-29 19:42:42 +00:00
Replaces instances of ARE_Z_CONNECTED with AreConnectedZLevels and removes ARE_Z_CONNECTED (#10466)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user