mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Minor bug fixes
- Ahelps sent by admins are no longer sent to discord
This commit is contained in:
@@ -175,7 +175,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
|
|||||||
message_admins("<font color='blue'>Ticket [TicketHref("#[id]")] created</font>")
|
message_admins("<font color='blue'>Ticket [TicketHref("#[id]")] created</font>")
|
||||||
else
|
else
|
||||||
MessageNoRecipient(parsed_message)
|
MessageNoRecipient(parsed_message)
|
||||||
|
send2adminchat() //VOREStation Add
|
||||||
//show it to the person adminhelping too
|
//show it to the person adminhelping too
|
||||||
to_chat(C, "<span class='adminnotice'>PM to-<b>Admins</b>: [name]</span>")
|
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.")
|
log_admin("Ticket #[id]: [key_name(initiator)]: [name] - heard by [admin_number_present] non-AFK admins who have +BAN.")
|
||||||
if(admin_number_present <= 0)
|
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>")
|
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
|
GLOB.ahelp_tickets.active_tickets += src
|
||||||
|
|
||||||
/datum/admin_help/Destroy()
|
/datum/admin_help/Destroy()
|
||||||
|
|||||||
Reference in New Issue
Block a user