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