[MIRROR] Removes Null Close (#10967)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-05-28 20:13:59 +02:00
committed by GitHub
co-authored by Cameron Lennox
parent 992cd4cd36
commit 9cd438b8db
+1 -1
View File
@@ -320,7 +320,7 @@
return
var/datum/host = src_object.tgui_host(user)
// If the object or user died (or something else), abort.
if(!src_object || !host || !user || !window)
if(QDELETED(src_object) || QDELETED(host) || QDELETED(user) || QDELETED(window))
close(can_be_suspended = FALSE)
return
// Validate ping