fixes for RPD and RCS exploits

This commit is contained in:
Kyep
2018-08-15 01:48:34 -07:00
parent 118fd95bcb
commit 7cebfc20c4
2 changed files with 10 additions and 0 deletions
+4
View File
@@ -192,6 +192,10 @@ var/list/pipemenu = list(
return
if(world.time < lastused + spawndelay)
return
var/turf/T = get_turf(target)
for(var/obj/machinery/shieldwall/S in T)
to_chat(user, "<span class='warning'>[S] blocks access!</span>")
return
target.rpd_act(user, src) //Handle RPD effects in separate procs
#undef RPD_COOLDOWN_TIME
@@ -41,6 +41,12 @@
return
return ..(M)
/obj/structure/closet/secure_closet/syndicate/depot/attackby(obj/item/W, mob/user, params)
if(istype(W, /obj/item/rcs))
to_chat(user, "<span class='warning'>Bluespace interference prevents the [W] from locking onto [src]!</span>")
return
return ..()
/obj/structure/closet/secure_closet/syndicate/depot/emp_act(severity)
return