Made the Destroy proc not sleepable (#18940)

Made the Destroy proc not sleepable

---------

Co-authored-by: FluffyGhost <FluffyGhost>
This commit is contained in:
Fluffy
2024-04-16 22:03:23 +02:00
committed by GitHub
parent 1c0318a7f4
commit 9bb5a8ea09
3 changed files with 61 additions and 3 deletions
@@ -233,8 +233,8 @@
else
return FALSE
var/mob/user = usr
if(user && istype(user) && !forced)
ui_interact(user) // Re-open the UI on this computer. It should show the main screen now.
if(user && istype(user) && !forced && !QDELETED(src))
INVOKE_ASYNC(src, TYPE_PROC_REF(/datum, ui_interact), user) // Re-open the UI on this computer. It should show the main screen now.
update_icon()
/**