From a548d231943afc239ee3ff4014360258f1d4ffe3 Mon Sep 17 00:00:00 2001 From: Ren Erthilo Date: Mon, 9 Apr 2012 12:23:51 +0100 Subject: [PATCH] Adds confirmation to AI call shuttle verb. --- code/game/machinery/computer/communications.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index d32ab1a48d9..b8825a56162 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -417,6 +417,10 @@ if(usr.stat == 2) usr << "You can't call the shuttle because you are dead!" return + + var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No") + if(confirm != "Yes") return + call_shuttle_proc(src) // hack to display shuttle timer