From 4ea434da1dc3f1b3c021ee62f35c0e5c5cd9c2d3 Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Sun, 25 Aug 2013 02:27:52 -0700 Subject: [PATCH] Added a delay to vent crawling. --- code/modules/mob/living/carbon/carbon.dm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 8252e3073c..f0f5fa4d8a 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -255,7 +255,16 @@ var/turf/startloc = loc var/obj/selection = input("Select a destination.", "Duct System") as null|anything in sortList(vents) - if(!selection) return + + if(!selection) + return + + if(!do_after(src, 45)) + return + + if(!src||!selection) + return + if(loc==startloc) if(contents.len) for(var/obj/item/carried_item in contents)//If the monkey got on objects.