Files
Bubberstation/code/modules
John Willard 4b849174d0 Messenger no longer force opens its UI (#94628)
## About The Pull Request

By default, ``use_energy`` will take 0 as the amount of energy to use,
turning it into a basic "check if we have power" check, however if we
don't exclude ``check_programs`` arg, and because it doesn't use any
power, it will loop through every PDA app to see if they are able to be
opened while unpowered, and opening those that can operate while powered
(aka the PDA messenger).

This is the case for PDA Messenger, so if you're using any app and get a
PDA message, or you reply to one, it will call ``ring()``, which will
call ``use_energy``, which will swap the PDA app to messenger as if the
PDA has no power. This fixes that.

## Why It's Good For The Game

Closes https://github.com/tgstation/tgstation/issues/76965

## Changelog

🆑
fix: PDA messenger will no longer force itself as your active program
when sending/receiving PDA messages.
/🆑
2025-12-28 22:01:29 -05:00
..
2025-12-28 19:57:42 +01:00
2025-12-21 16:18:34 -08:00
2025-12-20 12:33:10 -05:00
2025-12-28 19:57:42 +01:00
2025-12-21 16:18:34 -08:00
2025-12-21 16:18:34 -08:00
2025-12-28 19:57:42 +01:00
2025-12-26 09:53:07 -05:00
2025-12-06 13:42:32 +11:00