Files
Bubberstation/code/modules/modular_computers
MrMelbert a036da78c8 Small security / code passover for radar mod pc program (#76299)
## About The Pull Request

I saw this line "randomly" and thought "well that can't be safe" 


https://github.com/tgstation/tgstation/blob/971fbf93629ff48d39302544889060ba69fa0ccc/code/modules/modular_computers/file_system/programs/radar.dm#L67-L68

So I went through and added a sanity check for it to ensure it's only
getting passed `ref`s being tracked in the objects list

This accompanied some general code improvements

## Why It's Good For The Game

Just some extra safety
Some of these apps do a follow up check that the selected ref is a valid
ref to track, but not all of them (notably the Fission 360). It's
unlikely this can be abused but it's good to have

## Changelog

🆑 Melbert
qol: Scanning apps (Lifeline app) start with a scan
fix: Fixes a potential exploit in radar apps
/🆑
2023-06-27 20:36:40 -06:00
..