Fixes ventcrawl while buckled to something

This commit is contained in:
Kyep
2019-03-15 03:33:48 -07:00
parent ecc7c9f512
commit ca773c32dc
+4
View File
@@ -442,6 +442,10 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump,
if(!do_after(src, 45, target = src))
return
if(buckled)
to_chat(src, "<span class='warning'>You cannot crawl into a vent while buckled to something!</span>")
return
if(!client)
return