mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MIRROR] Gets rid of an annoying sporadic CI failure on closets by actually properly checking if they're qdeleted or not, no matter their typepath [MDB IGNORE] (#16437)
* Gets rid of an annoying sporadic CI failure on closets by actually properly checking if they're qdeleted or not, no matter their typepath (#70116) * Gets rid of an annoying sporadic CI failure on closets by actually properly checking if they're qdeleted or not, no matter their typepath Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
This commit is contained in:
co-authored by
GoldenAlpharex
parent
760633066b
commit
f0087fa452
@@ -9,7 +9,7 @@
|
||||
|
||||
for(var/closet_type in all_closets)
|
||||
var/obj/structure/closet/closet = allocate(closet_type)
|
||||
if(istype(closet_type, /obj/structure/closet/emcloset) && QDELETED(closet)) // this is here because the emcloset subtype has a chance of returning a qdel hint on initialize
|
||||
if(QDELETED(closet)) // this is here because the emcloset subtype has a chance of returning a qdel hint on initialize
|
||||
continue
|
||||
|
||||
// Copy is necessary otherwise closet.contents - immediate_contents returns an empty list
|
||||
|
||||
Reference in New Issue
Block a user