mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-23 13:57:03 +01:00
535a3f56e7
This PR tweaks an AI's can_use_remote_ui() proc to check for cameranet visibility instead of distance to an AI's eye. This allows an AI to use machines that aren't visible from the eye due to dense objects, but are still visible from cameras. It also keeps the UI window open if the AI's eye moves away, and closes the UI window if the viewing camera is disabled or destroyed. Fixes #22726