mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-13 03:02:38 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user