mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Refactored directionals (#20082)
Refactored directionals, ported lists of directions from TG, got rid of useless proc to get the reverse direction.
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
new_firedoor.req_one_access = req_one_access
|
||||
if(!single_window)
|
||||
var/list/neighbours = list()
|
||||
for (var/dir in GLOB.cardinal)
|
||||
for (var/dir in GLOB.cardinals)
|
||||
var/turf/T = get_step(src, dir)
|
||||
var/obj/effect/map_effect/window_spawner/other = locate(/obj/effect/map_effect/window_spawner) in T
|
||||
if(!other)
|
||||
|
||||
Reference in New Issue
Block a user