fixes null.close (#17755)

This commit is contained in:
Cameron Lennox
2025-05-28 06:56:04 -04:00
committed by GitHub
parent 337b09a2dd
commit 9ca2eec5dd
+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