[MIRROR] Some Processing improvements [MDB IGNORE] (#25944)

* Some Processing improvements (#80693)

## About The Pull Request
Got the idea from #80682. A lot of parent procs don't do anything, some
are just formatted in a bad way, and others early return and do no ops,
it's bad in general but this should give us a head start.

Some good overhead saved here

* Some Processing improvements

---------

Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-01-01 23:42:38 +00:00
committed by GitHub
co-authored by SyncIt21
parent 8b3449b255
commit c3bb222d26
20 changed files with 38 additions and 48 deletions
@@ -173,8 +173,8 @@
//We use SSfastprocess for the program icon state because it runs faster than process_tick() does.
/datum/computer_file/program/radar/process()
if(computer.active_program != src)
STOP_PROCESSING(SSfastprocess, src) //We're not the active program, it's time to stop.
return
//We're not the active program, it's time to stop.
return PROCESS_KILL
if(!selected)
return