[MIRROR] Fixes tgui windows not working [MDB IGNORE] (#10644)

* Fixes tgui windows not working (#64046)

I fucked it up when I did my harddel stuff, we don't wanna fuckin close the window if any of our vars are
**not** destroyed

* Fixes tgui windows not working

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-01-13 00:22:30 +00:00
committed by GitHub
co-authored by LemonInTheDark
parent 4bce952a86
commit 64eda60b54
+1 -1
View File
@@ -252,7 +252,7 @@
return
var/datum/host = src_object.ui_host(user)
// If the object or user died (or something else), abort.
if(!QDELETED(src_object) || !QDELETED(host) || !QDELETED(user) || !QDELETED(window))
if(QDELETED(src_object) || QDELETED(host) || QDELETED(user) || QDELETED(window))
close(can_be_suspended = FALSE)
return
// Validate ping