atom_flags tests snafu corrections

This commit is contained in:
spookerton
2022-10-18 09:36:41 +01:00
parent a5e55778da
commit 4557f8573c
6 changed files with 5 additions and 7 deletions
@@ -57,7 +57,7 @@
activated = 1
for(var/obj/effect/wingrille_spawn/other in neighbours)
if(!other.activated) other.activate()
if(initialized && !QDELETED(src))
if((atom_flags & ATOM_INITIALIZED) && !QDELETED(src))
qdel(src)
/obj/effect/wingrille_spawn/proc/handle_window_spawn(var/obj/structure/window/W)