mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Powernet cable nodes work on shuttles
This commit is contained in:
@@ -148,8 +148,8 @@
|
|||||||
// return a knot cable (O-X) if one is present in the turf
|
// return a knot cable (O-X) if one is present in the turf
|
||||||
// null if there's none
|
// null if there's none
|
||||||
/turf/proc/get_cable_node()
|
/turf/proc/get_cable_node()
|
||||||
if(!istype(src, /turf/simulated/floor))
|
//if(!istype(src, /turf/simulated/floor)) //VOREStation Removal - Why?
|
||||||
return null
|
//return null //VOREStation Removal - Why?
|
||||||
for(var/obj/structure/cable/C in src)
|
for(var/obj/structure/cable/C in src)
|
||||||
if(C.d1 == 0)
|
if(C.d1 == 0)
|
||||||
return C
|
return C
|
||||||
|
|||||||
Reference in New Issue
Block a user