mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
machinery_process() & auto_use_power efficiency tweaks (#2657)
changes: Machinery now uses machinery_process() instead of process(), allowing machines to be put into SSprocessing-style lists in addition to the machinery list. Automatic power calculations now involve less proc-calls.
This commit is contained in:
@@ -24,7 +24,7 @@ obj/machinery/embedded_controller/radio/Destroy()
|
||||
program.receive_signal(signal, receive_method, receive_param)
|
||||
//spawn(5) program.process() //no, program.process sends some signals and machines respond and we here again and we lag -rastaf0
|
||||
|
||||
/obj/machinery/embedded_controller/process()
|
||||
/obj/machinery/embedded_controller/machinery_process()
|
||||
if(program)
|
||||
program.process()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user