mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Nukes reverse_direction() in favor of REVERSE_DIR define (#25550)
* same taste, twice the speed * pain
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
if(!direction) // cable direction = 0, which means its a node
|
||||
return TRUE
|
||||
var/turf/potential_cable_turf = get_step(origin_turf, direction)
|
||||
var/reversed_direction = reverse_direction(direction)
|
||||
var/reversed_direction = REVERSE_DIR(direction)
|
||||
for(var/obj/structure/cable/other_cable in potential_cable_turf.contents)
|
||||
if(reversed_direction == other_cable.d1 || reversed_direction == other_cable.d2)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user