From 6419f3426eb7c2c4ec0f143c754ac74a11202a4d Mon Sep 17 00:00:00 2001 From: Amunak Date: Sat, 13 Dec 2014 07:02:54 +0100 Subject: [PATCH] Destructor now asks for confirmation using alert instead of list --- code/modules/research/rdconsole.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/research/rdconsole.dm b/code/modules/research/rdconsole.dm index 7299f801bef..0cd7eb9c61b 100644 --- a/code/modules/research/rdconsole.dm +++ b/code/modules/research/rdconsole.dm @@ -250,8 +250,7 @@ won't update every console in existence) but it's more of a hassle to do. Also, if(linked_destroy.busy) usr << "\red The destructive analyzer is busy at the moment." else - var/choice = input("Proceeding will destroy loaded item.") in list("Proceed", "Cancel") - if(choice == "Cancel" || !linked_destroy) return + if(alert("Proceeding will destroy loaded item. Continue?", "Destructive analyzer confirmation", "Yes", "No") == "No" || !linked_destroy) return linked_destroy.busy = 1 screen = 0.1 updateUsrDialog()