From a28dba93592d6f2c1526b61b36cfbb7cce4b7a0f Mon Sep 17 00:00:00 2001 From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Tue, 7 Jan 2025 17:04:08 +0000 Subject: [PATCH] fix holopads for ai for real (#2640) change return to continue Co-authored-by: deltanedas <@deltanedas:kde.org> --- Content.Server/Silicons/StationAi/StationAiSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Silicons/StationAi/StationAiSystem.cs b/Content.Server/Silicons/StationAi/StationAiSystem.cs index 9c15112b305..054712059e4 100644 --- a/Content.Server/Silicons/StationAi/StationAiSystem.cs +++ b/Content.Server/Silicons/StationAi/StationAiSystem.cs @@ -43,10 +43,10 @@ private void OnExpandICChatRecipients(ExpandICChatRecipientsEvent ev) var stationAiCore = new Entity(ent, entStationAiCore); if (!TryGetInsertedAI(stationAiCore, out var insertedAi) || !TryComp(insertedAi, out ActorComponent? actor)) - return; + continue; if (stationAiCore.Comp.RemoteEntity == null || stationAiCore.Comp.Remote) - return; + continue; var xform = Transform(stationAiCore.Comp.RemoteEntity.Value);