[MIRROR] obj screen to atom movable screen (#11719)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-22 01:04:35 +02:00
committed by GitHub
co-authored by Kashargul
parent fd68853af6
commit 303e88c0b2
141 changed files with 1307 additions and 1386 deletions
+3 -3
View File
@@ -163,7 +163,7 @@ GLOBAL_DATUM_INIT(tickets, /datum/tickets, new)
if(!only_alert)
C.current_ticket.AddInteraction("Client reconnected.")
C.current_ticket.initiator = C
C.current_ticket.initiator.mob?.throw_alert("open ticket", /obj/screen/alert/open_ticket)
C.current_ticket.initiator.mob?.throw_alert("open ticket", /atom/movable/screen/alert/open_ticket)
//Dissasociate ticket
/datum/tickets/proc/ClientLogout(client/C)
@@ -342,7 +342,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/statclick/ticket_list)
//TC.T = src
//TC.tgui_interact(C.mob)
C.mob.throw_alert("open ticket", /obj/screen/alert/open_ticket)
C.mob.throw_alert("open ticket", /atom/movable/screen/alert/open_ticket)
/datum/ticket/Destroy()
RemoveActive()
@@ -474,7 +474,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/statclick/ticket_list)
message_admins(msg)
log_admin(msg)
feedback_inc("ticket_reopen")
initiator.mob.throw_alert("open ticket", /obj/screen/alert/open_ticket)
initiator.mob.throw_alert("open ticket", /atom/movable/screen/alert/open_ticket)
//TicketPanel() //can only be done from here, so refresh it
SSwebhooks.send(
+1 -1
View File
@@ -15,7 +15,7 @@
/datum/ticket_chat/tgui_close(mob/user)
. = ..()
if(user.client?.current_ticket)
user.throw_alert("open ticket", /obj/screen/alert/open_ticket)
user.throw_alert("open ticket", /atom/movable/screen/alert/open_ticket)
/datum/ticket_chat/tgui_state(mob/user)
return GLOB.tgui_ticket_state