mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
some small things (#8959)
This commit is contained in:
@@ -151,5 +151,4 @@
|
||||
//CHOMPEdit Start: Emotes!
|
||||
/mob/living/voice/get_available_emotes()
|
||||
. |= global._simple_mob_default_emotes.Copy()
|
||||
return
|
||||
//CHOMPEdit End
|
||||
|
||||
@@ -138,10 +138,11 @@ GLOBAL_DATUM_INIT(tickets, /datum/tickets, new)
|
||||
//Dissasociate ticket
|
||||
/datum/tickets/proc/ClientLogout(client/C)
|
||||
if(C.current_ticket)
|
||||
C.current_ticket.AddInteraction("Client disconnected.")
|
||||
// C.current_ticket.initiator.mob.clear_alert("open ticket") // Uncomment this line to enable player-side ticket ui
|
||||
C.current_ticket.initiator = null
|
||||
C.current_ticket = null
|
||||
var/datum/ticket/T = C.current_ticket
|
||||
T.AddInteraction("Client disconnected.")
|
||||
// T.initiator.mob.clear_alert("open ticket") // Uncomment this line to enable player-side ticket ui
|
||||
T.initiator = null
|
||||
T = null
|
||||
|
||||
//Get a ticket given a ckey
|
||||
/datum/tickets/proc/CKey2ActiveTicket(ckey)
|
||||
|
||||
Reference in New Issue
Block a user