mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
Replace alert usage with tgui_alert (#58419)
Pretty much every alert() call is replaced with tgui_alert, except one I replaced with tgalert as a fallback. If tgui_alert exists, why not use it?
This commit is contained in:
@@ -209,7 +209,7 @@
|
||||
if(enabled)
|
||||
ui_interact(user)
|
||||
else if(isAdminGhostAI(user))
|
||||
var/response = alert(user, "This computer is turned off. Would you like to turn it on?", "Admin Override", "Yes", "No")
|
||||
var/response = tgui_alert(user, "This computer is turned off. Would you like to turn it on?", "Admin Override", list("Yes", "No"))
|
||||
if(response == "Yes")
|
||||
turn_on(user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user