Open Mothblocks opened 1 year ago
This is called nearly 200 times unconfig'd and is 83ms.
/obj/machinery/door/airlock/proc/update_other_id() for(var/obj/machinery/door/airlock/Airlock in GLOB.airlocks) if(Airlock.closeOtherId == closeOtherId && Airlock != src) if(!(Airlock in close_others)) close_others += Airlock if(!(src in Airlock.close_others)) Airlock.close_others += src
This is called nearly 200 times unconfig'd and is 83ms.