[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!
This commit is contained in:
committed by
Poojawa
parent
9961ecabf1
commit
3516f4ef0a
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user