From 553c2ae5851fa11026c852fceca186e8fa7d7e0b Mon Sep 17 00:00:00 2001
From: Zee <51836752+Zeerum@users.noreply.github.com>
Date: Sun, 31 May 2026 15:57:45 -0400
Subject: [PATCH] Fixes a bug with the AI crew monitor tracking function
(#5711)
## About The Pull Request
Removes a single line of code in the Bubber crew monitor UI preventing
the AI from tracking crew. Prior to this PR, the crew monitor tracker
would show as greyed out for every entry. Edit: This is because upstream
killed smart tracking. Removed additional instances of can_track since
it's no longer functional
Edit: Also fixes security grouping on the crew monitor
## Why It's Good For The Game
This has been bothering me for months and the AI being able to easily
track crew via cameras is good, actually.
Also security grouping for dept sec is nice too.
## Proof Of Testing
## Changelog
:cl:
fix: AI is now able to track via the crew monitor again
fix: Dept Security grouping on the crew monitor
/:cl:
---
modular_zubbers/code/game/machinery/computer/crew.dm | 4 ++++
tgui/packages/tgui/interfaces/CrewConsoleBubbers.tsx | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/modular_zubbers/code/game/machinery/computer/crew.dm b/modular_zubbers/code/game/machinery/computer/crew.dm
index e094d5275e9..164ccc2721e 100644
--- a/modular_zubbers/code/game/machinery/computer/crew.dm
+++ b/modular_zubbers/code/game/machinery/computer/crew.dm
@@ -58,6 +58,10 @@
JOB_SECURITY_MEDIC = 203,
JOB_DETECTIVE = 204,
JOB_SECURITY_OFFICER = 205,
+ JOB_SECURITY_OFFICER_MEDICAL = 206,
+ JOB_SECURITY_OFFICER_ENGINEERING = 207,
+ JOB_SECURITY_OFFICER_SCIENCE = 208,
+ JOB_SECURITY_OFFICER_SUPPLY = 209,
//Medical
JOB_ORDERLY = 301,
diff --git a/tgui/packages/tgui/interfaces/CrewConsoleBubbers.tsx b/tgui/packages/tgui/interfaces/CrewConsoleBubbers.tsx
index eccd72a0102..b2967c6205d 100644
--- a/tgui/packages/tgui/interfaces/CrewConsoleBubbers.tsx
+++ b/tgui/packages/tgui/interfaces/CrewConsoleBubbers.tsx
@@ -150,7 +150,6 @@ type CrewSensor = {
brutedam: number;
area: string | undefined;
health: number;
- can_track: BooleanLike;
ref: string;
};
@@ -250,7 +249,6 @@ const CrewTableEntry = (props: CrewTableEntryProps) => {
burndam,
brutedam,
area,
- can_track,
} = sensor_data;
return (
@@ -315,7 +313,6 @@ const CrewTableEntry = (props: CrewTableEntryProps) => {
{!!link_allowed && (