This is why we can't have ice things

This commit is contained in:
TheDZD
2015-12-19 22:17:30 -05:00
parent 4c03cf2599
commit f7937b5df1
+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)