Makes RPDs not smash pipes when placing a new pipe (#19205)

* rpdrpdrpdrpd

* lewc revision

* whoopsies I accidently removed a param
This commit is contained in:
Contrabang
2022-10-04 22:18:23 -05:00
committed by GitHub
parent 7d7ffb8d32
commit 94f85b8837
+5
View File
@@ -288,6 +288,11 @@
T.rpd_act(user, src)
/obj/item/rpd/attack_obj(obj/O, mob/living/user)
if(istype(O, /obj/machinery/atmospherics/pipe) && user.a_intent != INTENT_HARM)
return
return ..()
#undef RPD_COOLDOWN_TIME
#undef RPD_WALLBUILD_TIME
#undef RPD_MENU_ROTATE