Fixes some admin verbs (#31064)

This commit is contained in:
DGamerL
2025-11-20 20:56:22 +01:00
committed by GitHub
parent 91e9c9e566
commit 8710f08b5d
+3 -3
View File
@@ -1022,7 +1022,7 @@ GLOBAL_LIST_INIT(view_logs_verbs, list(
if(!check_rights(R_ADMIN))
return
if(tgui_alert("Are you sure you want to send the global message?", "Confirm Man Up Global", list("Yes", "No")) != "No")
if(tgui_alert(usr, "Are you sure you want to send the global message?", "Confirm Man Up Global", list("Yes", "No")) == "Yes")
var/manned_up_sound = sound('sound/voice/manup1.ogg')
for(var/sissy in GLOB.player_list)
to_chat(sissy, chat_box_notice_thick("<span class='notice'><b><font size=4>Man up.<br> Deal with it.</font></b><br>Move on.</span>"))
@@ -1155,7 +1155,7 @@ GLOBAL_LIST_INIT(view_logs_verbs, list(
return
var/display_turfs_overlay = FALSE
if(tgui_alert(usr, "Would you like to have all interesting turfs have a client side overlay applied as well?", "Optional", list("Yes", "No")) != "No")
if(tgui_alert(usr, "Would you like to have all interesting turfs have a client side overlay applied as well?", "Optional", list("Yes", "No")) == "Yes")
display_turfs_overlay = TRUE
message_admins("[key_name_admin(usr)] is visualizing interesting atmos turfs. Server may lag.")
@@ -1234,7 +1234,7 @@ GLOBAL_LIST_INIT(view_logs_verbs, list(
return
var/datum/rnd_backup/B = SSresearch.backups[actual_target]
if(tgui_alert("Are you sure you want to restore this RnD backup? The disk will spawn below your character.", "Are you sure?", list("Yes", "No")) != "Yes")
if(tgui_alert(usr, "Are you sure you want to restore this RnD backup? The disk will spawn below your character.", "Are you sure?", list("Yes", "No")) != "Yes")
return
B.to_backup_disk(get_turf(usr))