Merge pull request #11067 from bgobandit/themobcannotventcrawl

Mobs can no longer ventcrawl while buckled or handcuffed
This commit is contained in:
Cheridan
2015-08-11 18:27:03 -05:00
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -12,6 +12,9 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/components/unary
if(lying)
src << "You can't vent crawl while you're stunned!"
return
if(restrained())
src << "You can't vent crawl while you're restrained!"
return
var/obj/machinery/atmospherics/components/unary/vent_found