SecurEye now properly follows moving cameras (#89507)

## About The Pull Request

Port of a fix from
https://github.com/Monkestation/Monkestation2.0/pull/4995

Due to how modular computers worked with the nested tgui stuff, the
SecurEye app wouldn't properly autoupdate whenever a camera it was
watching moved (when there's not any tracking going on)

This "fixes" that issue by adding a new var, `always_update_ui`, to
modular computer programs, which will make the modpc call the active
program's `ui_interact` even after the UI is opened.

## Why It's Good For The Game

bugfix good. if the whole "watch broadcast camera streams on PDA" thing
ever gets ported here, this is a needed fix for that.

## Changelog
🆑
fix: SecurEye now properly follows moving cameras.
/🆑
This commit is contained in:
Lucy
2025-02-17 10:54:45 +00:00
committed by GitHub
parent a1cb623670
commit 803589da07
3 changed files with 7 additions and 4 deletions
@@ -42,6 +42,8 @@
var/alert_silenced = FALSE
/// Whether to highlight our program in the main screen. Intended for alerts, but loosely available for any need to notify of changed conditions. Think Windows task bar highlighting. Available even if alerts are muted.
var/alert_pending = FALSE
/// Whether the UI should *always* be updated while active.
var/always_update_ui = FALSE
/// How well this program will help combat detomatix viruses.
var/detomatix_resistance = NONE
/// Unremovable circuit componentn added to the physical computer while the program is installed