From 5c45e5f7d4d047bc633be24227b748a06d22bdcc Mon Sep 17 00:00:00 2001 From: Ben10083 Date: Thu, 3 Aug 2023 17:26:07 -0400 Subject: [PATCH] Prompt Confirmation before Random Fact --- code/modules/admin/admin_verbs.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 20ff65ed144e..ffbae3451bbb 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -576,6 +576,10 @@ var/list/roundstart_mod_verbs = list( set desc = "Tells everyone about a random statistic in the round." set category = "OOC" + var/prompt = tgui_alert(usr, "Are you sure you want to do this?", "Announce Random Fact", list("No", "Yes")) + if(prompt != "Yes") + return + message_admins("[key_name(usr)] announced a random fact.") SSticker.mode?.declare_fun_facts()