mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
[MIRROR] Make Toggle-CDN use alert() instead of tgui_alert() (#6103)
* Make Toggle-CDN use alert() instead of tgui_alert() (#59478) Co-authored-by: orbit <orbit@ book> * Make Toggle-CDN use alert() instead of tgui_alert() Co-authored-by: Cyprex <35031555+Cyprex@users.noreply.github.com> Co-authored-by: orbit <orbit@ book>
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
set name = "Toggle CDN"
|
||||
set category = "Server"
|
||||
var/static/admin_disabled_cdn_transport = null
|
||||
if (tgui_alert(usr, "Are you sure you want to toggle the CDN asset transport?", "Confirm", list("Yes", "No")) != "Yes")
|
||||
if (alert(usr, "Are you sure you want to toggle the CDN asset transport?", "Confirm", "Yes", "No") != "Yes")
|
||||
return
|
||||
var/current_transport = CONFIG_GET(string/asset_transport)
|
||||
if (!current_transport || current_transport == "simple")
|
||||
|
||||
Reference in New Issue
Block a user