mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Prevents RCDs from blowing up on central command if ai triggers its ability (#22122)
* i forgot about this * actually just no cc * contrabang review * Update Malf_Modules.dm
This commit is contained in:
@@ -376,7 +376,10 @@
|
||||
|
||||
/datum/action/innate/ai/destroy_rcds/Activate()
|
||||
for(var/obj/item/rcd/RCD in GLOB.rcd_list)
|
||||
if(!istype(RCD, /obj/item/rcd/borg)) //Ensures that cyborg RCDs are spared.
|
||||
if(istype(RCD, /obj/item/rcd/borg)) //Ensures that cyborg RCDs are spared.
|
||||
continue
|
||||
var/turf/RCD_turf = get_turf(RCD)
|
||||
if(is_level_reachable(RCD_turf.z))
|
||||
RCD.detonate_pulse()
|
||||
|
||||
to_chat(owner, "<span class='danger'>RCD detonation pulse emitted.</span>")
|
||||
|
||||
Reference in New Issue
Block a user