Cancel Selection on alert level thing

This commit is contained in:
SoundScopes
2014-12-01 04:42:56 +00:00
parent c88355432e
commit 9a038a0ac7
+6
View File
@@ -959,11 +959,17 @@ var/list/admin_verbs_mod = list(
"Blue",
"Red",
"Delta",
"Cancel",
)
var/current_level = get_security_level()
var/input = input("Select the alert level.", "Alert Level -( [current_level] )", null, null) in L
if(!input)
return
switch(input)
if("Cancel")
return
if("Green")
set_security_level(SEC_LEVEL_GREEN)
if("Blue")