From 3516f4ef0a7eee56bca705e2673c87ab29ef0a6a Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Thu, 14 Sep 2017 13:18:01 -0500 Subject: [PATCH] [MIRROR] turf now checks for inheritance, this is the future! (#2770) * Turfs call ..() in attackby (#30707) * gg * fixes that other issue * ok * okie dokie * removes this devil * ok this works * ok this works * turf now checks for inheritance, this is the future! --- code/game/turfs/turf.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm index c8be2aa28a..0b8fbb3844 100755 --- a/code/game/turfs/turf.dm +++ b/code/game/turfs/turf.dm @@ -95,6 +95,8 @@ C.is_empty(user) /turf/attackby(obj/item/C, mob/user, params) + if(..()) + return TRUE if(can_lay_cable() && istype(C, /obj/item/stack/cable_coil)) var/obj/item/stack/cable_coil/coil = C for(var/obj/structure/cable/LC in src)