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 20:03:23 +00:00
committed by GitHub
co-authored by FluffyGhost <FluffyGhost>
parent 1c0318a7f4
commit 9bb5a8ea09
3 changed files with 61 additions and 3 deletions
+1 -1
View File
@@ -59,7 +59,7 @@
// Return the appropriate QDEL_HINT; in most cases this is QDEL_HINT_QUEUE.
/datum/proc/Destroy(force=FALSE)
SHOULD_CALL_PARENT(TRUE)
//SHOULD_NOT_SLEEP(TRUE) //Soon my friend, soon...
SHOULD_NOT_SLEEP(TRUE)
tag = null
datum_flags &= ~DF_USE_TAG //In case something tries to REF us