[MIRROR] code/global.dm => code/_global_vars/ (#10689)

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-04-21 10:16:48 -07:00
committed by GitHub
parent a7718c6177
commit f04f992cfe
474 changed files with 1401 additions and 1421 deletions

View File

@@ -142,7 +142,7 @@
var/turf/T1 = get_turf(src)
if(T1.get_lumcount() < 0.4)
for(var/dirn in cardinal)
for(var/dirn in GLOB.cardinal)
var/turf/T2 = get_step(src, dirn)
if(!istype(T2) || locate(/obj/effect/dark) in T2 || istype(T2.loc, /area/arrival) || isspace(T2) || istype(T2, /turf/simulated/open))

View File

@@ -752,7 +752,7 @@ rborosilicate = 12
var/obj/O = new the_rcd.wall_frame_type(get_step(src,direction))
O.dir = direction
if(istype(O,/obj/machinery/light))
O.dir = reverse_dir[O.dir]
O.dir = GLOB.reverse_dir[O.dir]
return TRUE
var/list/adjusts = list(
/obj/machinery/computer/security/telescreen/entertainment,

View File

@@ -126,13 +126,13 @@
/turf/simulated/shuttlewalls/proc/special_wall_connections(list/dirs, list/inrange)
if(material.icon_base == "hull") // Could be improved...
var/additional_dirs = 0
for(var/direction in alldirs)
for(var/direction in GLOB.alldirs)
var/turf/T = get_step(src,direction)
if(T && (locate(/obj/structure/hull_corner) in T))
dirs += direction
additional_dirs |= direction
if(additional_dirs)
for(var/diag_dir in cornerdirs)
for(var/diag_dir in GLOB.cornerdirs)
if ((additional_dirs & diag_dir) == diag_dir)
dirs += diag_dir