mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +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
|
return
|
||||||
var/datum/host = src_object.tgui_host(user)
|
var/datum/host = src_object.tgui_host(user)
|
||||||
// If the object or user died (or something else), abort.
|
// 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)
|
close(can_be_suspended = FALSE)
|
||||||
return
|
return
|
||||||
// Validate ping
|
// Validate ping
|
||||||
|
|||||||
Reference in New Issue
Block a user