Minor bug fixes

- Ahelps sent by admins are no longer sent to discord
This commit is contained in:
Unknown
2019-12-13 19:50:36 -05:00
parent 5ec5ac6e78
commit 2e584ce3d0

View File

@@ -175,7 +175,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
message_admins("<font color='blue'>Ticket [TicketHref("#[id]")] created</font>")
else
MessageNoRecipient(parsed_message)
send2adminchat() //VOREStation Add
//show it to the person adminhelping too
to_chat(C, "<span class='adminnotice'>PM to-<b>Admins</b>: [name]</span>")
@@ -184,7 +184,6 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
log_admin("Ticket #[id]: [key_name(initiator)]: [name] - heard by [admin_number_present] non-AFK admins who have +BAN.")
if(admin_number_present <= 0)
to_chat(C, "<span class='notice'>No active admins are online, your adminhelp was sent to the admin irc.</span>")
send2adminchat() //VOREStation Add
GLOB.ahelp_tickets.active_tickets += src
/datum/admin_help/Destroy()