Files
Bubberstation/code/modules/modular_computers/file_system
SkyratBot 9d9404713e [MIRROR] Relocate alarm monitor display update code to the signal handler instead of process tick [MDB IGNORE] (#20674)
* Relocate alarm monitor display update code to the signal handler instead of process tick (#74824)

## About The Pull Request
This very simply makes alarm monitor UI and icon updates event based
instead of updating them with the processing loop.
The original proc also included unnecessary conditionals, these have
been worked out.
## Why It's Good For The Game
Instead of updating alarm monitors every single program tick, we could
instead update them only when alarms actually update. This improves
responsiveness for when alarms go off (we don't wait for the next
program tick and instead update immediately), and prevents us from
running unnecessary conditionals and icon updates.
## Changelog
🆑
code: Update active alarm monitor computers only when alarms are
actually changed instead of every program tick
/🆑

---------

Co-authored-by: Gear <gear@ gear.is>

* Relocate alarm monitor display update code to the signal handler instead of process tick

---------

Co-authored-by: Gear <9438930+the-og-gear@users.noreply.github.com>
Co-authored-by: Gear <gear@ gear.is>
2023-04-21 01:40:30 +01:00
..