mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-31 12:01:47 +00:00
* 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>