mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 10:33:30 +01:00
Fixes some admin verbs (#31064)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user