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! //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

View File

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