diff --git a/code/datums/wires/syndicatebomb.dm b/code/datums/wires/syndicatebomb.dm index 570e45ba7af..27fbfad3009 100644 --- a/code/datums/wires/syndicatebomb.dm +++ b/code/datums/wires/syndicatebomb.dm @@ -21,6 +21,7 @@ if(B.active) holder.visible_message("\icon[B] An alarm sounds! It's go-") B.timer = 0 + tell_admins(B) if(WIRE_UNBOLT) holder.visible_message("\icon[B] The bolts spin in place for a moment.") if(WIRE_DELAY) @@ -63,6 +64,7 @@ if(B.active) holder.visible_message("\icon[B] An alarm sounds! It's go-") B.timer = 0 + tell_admins(B) else B.defused = TRUE if(WIRE_UNBOLT) @@ -74,9 +76,16 @@ if(!mend && B.active) holder.visible_message("\icon[B] An alarm sounds! It's go-") B.timer = 0 + tell_admins(B) if(WIRE_ACTIVATE) if(!mend && B.active) holder.visible_message("\icon[B] The timer stops! The bomb has been defused!") B.active = FALSE B.defused = TRUE B.update_icon() + +/datum/wires/syndicatebomb/proc/tell_admins(obj/machinery/syndicatebomb/B) + if(istype(B, /obj/machinery/syndicatebomb/training)) + return + log_game("A [B.name] was detonated via boom wire at (JMP).") + message_admins("A [B.name] was detonated via boom wire at (JMP).")