mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Removes Null Close (#10967)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
992cd4cd36
commit
9cd438b8db
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user