mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Merge pull request #2902 from TheDZD/putting-this-cryo-bug-on-ice
Fixes Cryopods Being Overly Attached to Crew
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user