RCD don't work on R-Doors

Port : https://github.com/tgstation/tgstation/pull/43598
This commit is contained in:
r4d6
2020-01-03 02:14:41 -05:00
parent 37d50e2aaf
commit 15d79d8818
+3
View File
@@ -1408,6 +1408,9 @@
/obj/machinery/door/airlock/rcd_vals(mob/user, obj/item/construction/rcd/the_rcd)
switch(the_rcd.mode)
if(RCD_DECONSTRUCT)
if(security_level != AIRLOCK_SECURITY_NONE)
to_chat(user, "<span class='notice'>[src]'s reinforcement needs to be removed first.</span>")
return FALSE
return list("mode" = RCD_DECONSTRUCT, "delay" = 50, "cost" = 32)
return FALSE