Merge pull request #2902 from TheDZD/putting-this-cryo-bug-on-ice

Fixes Cryopods Being Overly Attached to Crew
This commit is contained in:
Fox McCloud
2015-12-19 22:58:41 -05:00
+3 -1
View File
@@ -250,7 +250,9 @@
find_control_computer()
/obj/machinery/cryopod/proc/find_control_computer(urgent=0)
control_computer = locate(/obj/machinery/computer/cryopod) in get_area(src)
for(var/obj/machinery/computer/cryopod/C in areaMaster.contents) //locate() is shit, this actually works, and there's a decent chance it's faster than locate()
control_computer = C
break
// Don't send messages unless we *need* the computer, and less than five minutes have passed since last time we messaged
if(!control_computer && urgent && last_no_computer_message + 5*60*10 < world.time)