Skip to content

Commit

Permalink
fixes overwrite mark prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Sep 18, 2023
1 parent ed2dd26 commit 5565ff9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/admin/verbs/adminhelp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -530,11 +530,11 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
return
to_chat(usr, SPAN_WARNING("This ticket has already been marked by [marked_admin]."))
var/unmark_option = tgui_alert(usr, "This message has been marked by [marked_admin]. Do you want to override?", "Marked Ticket", list("Overwrite Mark", "Unmark", "Cancel"))
if(unmark_option == "Cancel")
return
if(unmark_option == "Unmark")
unmark_ticket()
return
if(unmark_option != "Overwrite Mark")
return

var/key_name = key_name_admin(usr)
AddInteraction("Marked by [key_name].", player_message = "Ticket marked!")
Expand Down

0 comments on commit 5565ff9

Please sign in to comment.