fixes stack memleaks (#18395)

* fixes stack memleaks

* .

* more

* .

* .

* urg

* urg

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* cklear laws

* Update vending.dm

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Kashargul
2025-09-09 21:58:48 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent d638564b3b
commit 84abdbaede
19 changed files with 118 additions and 47 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
/datum/ticket_chat/tgui_close(mob/user)
. = ..()
if(user.client.current_ticket)
if(user.client?.current_ticket)
user.throw_alert("open ticket", /obj/screen/alert/open_ticket)
/datum/ticket_chat/tgui_state(mob/user)