diff --git a/Content.Shared/Silicons/StationAi/SharedStationAiSystem.cs b/Content.Shared/Silicons/StationAi/SharedStationAiSystem.cs index 348b0b0465..17c592879c 100644 --- a/Content.Shared/Silicons/StationAi/SharedStationAiSystem.cs +++ b/Content.Shared/Silicons/StationAi/SharedStationAiSystem.cs @@ -135,6 +135,9 @@ public abstract partial class SharedStationAiSystem : EntitySystem private void OnAiBuiCheck(Entity ent, ref BoundUserInterfaceCheckRangeEvent args) { + if (!HasComp(args.Actor)) + return; + args.Result = BoundUserInterfaceRangeResult.Fail; // Similar to the inrange check but more optimised so server doesn't die.