Revert "TGUI alerts, lists, inputs"
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
if("grant_language")
|
||||
if((is_admin || isobserver(AM)) && language_datum)
|
||||
var/list/choices = list("Only Spoken", "Only Understood", "Both")
|
||||
var/choice = tgui_input_list(user,"How do you want to add this language?","[language_datum]", choices)
|
||||
var/choice = input(user,"How do you want to add this language?","[language_datum]",null) as null|anything in choices
|
||||
var/spoken = FALSE
|
||||
var/understood = FALSE
|
||||
switch(choice)
|
||||
@@ -103,7 +103,7 @@
|
||||
if("remove_language")
|
||||
if((is_admin || isobserver(AM)) && language_datum)
|
||||
var/list/choices = list("Only Spoken", "Only Understood", "Both")
|
||||
var/choice = tgui_input_list(user,"Which part do you wish to remove?","[language_datum]", choices)
|
||||
var/choice = input(user,"Which part do you wish to remove?","[language_datum]",null) as null|anything in choices
|
||||
var/spoken = FALSE
|
||||
var/understood = FALSE
|
||||
switch(choice)
|
||||
|
||||
Reference in New Issue
Block a user