diff --git a/code/modules/modular_computers/file_system/programs/antagonist/revelation.dm b/code/modules/modular_computers/file_system/programs/antagonist/revelation.dm index 0955125f814..98fe3fe7e05 100644 --- a/code/modules/modular_computers/file_system/programs/antagonist/revelation.dm +++ b/code/modules/modular_computers/file_system/programs/antagonist/revelation.dm @@ -28,14 +28,17 @@ computer.visible_message(span_notice("\The [computer]'s screen brightly flashes and loud electrical buzzing is heard.")) computer.enabled = FALSE computer.update_appearance() + + QDEL_LIST(computer.stored_files) + computer.take_damage(25, BRUTE, 0, 0) + if(computer.internal_cell && prob(25)) QDEL_NULL(computer.internal_cell) computer.visible_message(span_notice("\The [computer]'s battery explodes in rain of sparks.")) var/datum/effect_system/spark_spread/spark_system = new /datum/effect_system/spark_spread spark_system.start() - /datum/computer_file/program/revelation/ui_act(action, params) . = ..() if(.) diff --git a/tgui/packages/tgui/interfaces/NtosRevelation.tsx b/tgui/packages/tgui/interfaces/NtosRevelation.tsx index 9111ff620a7..c2b6b8e35b1 100644 --- a/tgui/packages/tgui/interfaces/NtosRevelation.tsx +++ b/tgui/packages/tgui/interfaces/NtosRevelation.tsx @@ -44,6 +44,7 @@ export const NtosRevelation = (props, context) => { textAlign="center" color="bad" disabled={!armed} + onClick={() => act('PRG_activate')} />