mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
Convert almost all alert() to tgui_alert()
This commit is contained in:
@@ -59,7 +59,7 @@ var/datum/admin_secrets/admin_secrets = new()
|
||||
|
||||
/datum/admin_secret_item/proc/can_execute(var/mob/user)
|
||||
if(can_view(user))
|
||||
if(!warn_before_use || alert(usr, "Execute the command '[name]'?", name, "No","Yes") == "Yes")
|
||||
if(!warn_before_use || tgui_alert(usr, "Execute the command '[name]'?", name, list("No","Yes")) == "Yes")
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user