Hides morph ventcrawl cogbar (#29186)

* morph do_after hidden

* make change actually morph exclusive

* im a fool
This commit is contained in:
Toastical
2025-05-10 20:03:26 +00:00
committed by GitHub
parent 48c100ddde
commit 15fb87cf23
@@ -513,9 +513,12 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
if(!client)
return
#endif
if(!do_after(src, ventcrawl_delay, target = src))
return
if(ismorph(src))
if(!do_after(src, ventcrawl_delay, target = src, hidden = TRUE))
return
else
if(!do_after(src, ventcrawl_delay, target = src))
return
if(!vent_found.can_crawl_through())
to_chat(src, "<span class='warning'>You can't vent crawl through that!</span>")
return