some small things (#8959)

This commit is contained in:
Kashargul
2024-09-15 17:15:00 +02:00
committed by GitHub
parent 84ac87d003
commit 2beff778e1
2 changed files with 5 additions and 5 deletions

View File

@@ -151,5 +151,4 @@
//CHOMPEdit Start: Emotes!
/mob/living/voice/get_available_emotes()
. |= global._simple_mob_default_emotes.Copy()
return
//CHOMPEdit End

View File

@@ -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)