mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 23:51:17 +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:
@@ -556,7 +556,7 @@
|
||||
return ..()
|
||||
|
||||
/obj/machinery/mining/brace/proc/connect()
|
||||
for(var/angle in GLOB.cardinal) // make it face any drill in GLOB.cardinal direction from it
|
||||
for(var/angle in GLOB.cardinals) // make it face any drill in GLOB.cardinals direction from it
|
||||
var/obj/machinery/mining/drill/D = locate() in get_step(src, angle)
|
||||
if(D)
|
||||
src.dir = angle
|
||||
|
||||
Reference in New Issue
Block a user