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
This commit is contained in:
SyncIt21
2024-01-02 01:28:34 +05:30
committed by GitHub
parent c7c8427324
commit 926d000d76
20 changed files with 38 additions and 48 deletions

View File

@@ -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