Fixes being null spaced when vennting into a unwrenched vent (#29824)

This commit is contained in:
1080pCat
2025-07-22 00:37:35 +10:00
committed by GitHub
parent 7e7c3eadc4
commit 82bd0741ba
@@ -548,7 +548,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
else
if(!do_after(src, ventcrawl_delay, target = src))
return
if(!vent_found.can_crawl_through())
if(!vent_found.can_crawl_through() || QDELETED(vent_found))
to_chat(src, "<span class='warning'>You can't vent crawl through that!</span>")
return