From 536c3e33942a42c1532cac21310dbca11170b952 Mon Sep 17 00:00:00 2001 From: Anewbe Date: Wed, 13 Jun 2018 21:47:29 -0500 Subject: [PATCH] Merge pull request #5352 from MagmaRam/balm Adds a "cancel" option to the Drop-Bomb admin verb. --- code/modules/admin/admin_verbs.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 81d936dce93..fc3fba6c7cb 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -659,11 +659,13 @@ var/list/admin_verbs_event_manager = list( set desc = "Cause an explosion of varying strength at your location." var/turf/epicenter = mob.loc - var/list/choices = list("Small Bomb", "Medium Bomb", "Big Bomb", "Custom Bomb") + var/list/choices = list("Small Bomb", "Medium Bomb", "Big Bomb", "Custom Bomb", "Cancel") var/choice = input("What size explosion would you like to produce?") in choices switch(choice) if(null) return 0 + if("Cancel") + return 0 if("Small Bomb") explosion(epicenter, 1, 2, 3, 3) if("Medium Bomb")