From fca1fa92988c827009bd388960f12c352e097c66 Mon Sep 17 00:00:00 2001 From: Ben10083 Date: Thu, 13 Jul 2023 13:22:06 -0400 Subject: [PATCH] Need to finish decryption before nuke safety can be disabled --- code/game/machinery/nuclearbomb.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/machinery/nuclearbomb.dm b/code/game/machinery/nuclearbomb.dm index 743f53e4f03b..1e0c59088153 100644 --- a/code/game/machinery/nuclearbomb.dm +++ b/code/game/machinery/nuclearbomb.dm @@ -221,6 +221,9 @@ var/bomb_set = FALSE if(!A.can_build_special) to_chat(ui.user, SPAN_INFO("You cannot deploy [src] here!")) return + if(!decryption_complete) + to_chat(ui.user, SPAN_INFO("Decyption of nuke must be complete before you can disengage safety!")) + return if(ui.user.action_busy) return ui.user.visible_message(SPAN_WARNING("[ui.user] begins to [safety ? "disable" : "enable"] the safety on [src]!"), SPAN_WARNING("You begin to [safety ? "disable" : "enable"] the safety on [src]."))