[MIRROR] Replace tgalert with tgui_alert, a new TGUI-based alert system (#1833)

* Replace tgalert with tgui_alert, a new TGUI-based alert system

* a

* a

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2020-11-26 08:05:45 +00:00
committed by GitHub
co-authored by Bobbahbrown Gandalf
parent 890295bb7d
commit 89a21458b5
16 changed files with 309 additions and 33 deletions
+1 -1
View File
@@ -1670,7 +1670,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
save_preferences()
if("keybindings_reset")
var/choice = tgalert(user, "Would you prefer 'hotkey' or 'classic' defaults?", "Setup keybindings", "Hotkey", "Classic", "Cancel")
var/choice = tgui_alert(user, "Would you prefer 'hotkey' or 'classic' defaults?", "Setup keybindings", list("Hotkey", "Classic", "Cancel"))
if(choice == "Cancel")
ShowChoices(user)
return